You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When someone types git worktree add <path> <TAB> it should complete a list of branches and tags since we're expecting commit-ishes.
More ambitiously, when someone types git worktree {lock,move,remove,unlock} <TAB>, we should complete with a path to all worktrees. Perhaps, this might most easily be done by implementing git worktree list --relative-path which will print out the relative path to all worktrees. We can directly use this for completion.
The text was updated successfully, but these errors were encountered:
Denton-L
changed the title
Complete git worktree
Complete git worktree
Sep 18, 2019
When someone types
git worktree add <path> <TAB>
it should complete a list of branches and tags since we're expecting commit-ishes.More ambitiously, when someone types
git worktree {lock,move,remove,unlock} <TAB>
, we should complete with a path to all worktrees. Perhaps, this might most easily be done by implementinggit worktree list --relative-path
which will print out the relative path to all worktrees. We can directly use this for completion.The text was updated successfully, but these errors were encountered: