Make git worktrees opt-in (worktree.enabled or --worktree) #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "lain/worktree-default-off-20261102144257"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Git worktrees are no longer created by default inside a repository.
worktree.enablednow defaults tofalse; set it totrueto opt in.dash run --worktreeenables a worktree for a single run, overriding the config.Verified:
gofmt,go vet ./...,go test ./internal/...; dry runs show no worktree mount by default and a worktree mount with--worktree.