mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
This was on oversight on my part: I assumed that the --work-tree arg was always intended for use with linked worktrees which have a .git file pointing back to the repo. I'm honestly confused now: seems like there are three kinds of worktrees: * the main worktree of a non-bare repo * a linked worktree (with its own gitdir in the repo's worktrees/ dir) * a random folder which you specify as a worktree with the --work-tree arg I'm pretty sure the --work-tree arg is only intended to be used with this third kind or workree |
||
|---|---|---|
| .. | ||
| add_from_branch.go | ||
| add_from_branch_detached.go | ||
| add_from_commit.go | ||
| associate_branch_bisect.go | ||
| associate_branch_rebase.go | ||
| bare_repo.go | ||
| crud.go | ||
| custom_command.go | ||
| detach_worktree_from_branch.go | ||
| dotfile_bare_repo.go | ||
| fast_forward_worktree_branch.go | ||
| force_remove_worktree.go | ||
| remove_worktree_from_branch.go | ||
| reset_window_tabs.go | ||
| worktree_in_repo.go | ||