diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2020-09-06 20:02:21 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-06 18:53:56 -0700 |
commit | c670aa47dff9829360cc69174f8dd0d82f096011 (patch) | |
tree | 3a64671cb69be3a3e0ff662a93cee1ff9484fbe9 /Documentation/git-column.txt | |
parent | git-checkout.txt: document -d short option for --detach (diff) | |
download | tgif-c670aa47dff9829360cc69174f8dd0d82f096011.tar.xz |
worktree: teach `add` to recognize -d as shorthand for --detach
Like `git switch` and `git checkout`, `git worktree add` can check out a
branch or set up a detached HEAD. However, unlike those other commands,
`git worktree add` does not understand -d as shorthand for --detach,
which may confound users accustomed to using -d for this purpose.
Address this shortcoming by teaching `add` to recognize -d for --detach,
thus bringing it in line with the other commands.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-column.txt')
0 files changed, 0 insertions, 0 deletions