]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'es/wt-add-detach'
authorJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2020 00:58:04 +0000 (17:58 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2020 00:58:04 +0000 (17:58 -0700)
commit45f462b5c5a55039c35fc7001f2256329220bf4f
treeebac01e4f5554e4bde0572454fbe9e85a087e5bc
parent694e517778243256b748819cc60eff6011238a0a
parentdccadad736c801e924c7c14e8c6bd1a6e15e70e5
Merge branch 'es/wt-add-detach'

"git worktree add" learns that the "-d" is a synonym to "--detach"
option to create a new worktree without being on a branch.

* es/wt-add-detach:
  git-worktree.txt: discuss branch-based vs. throwaway worktrees
  worktree: teach `add` to recognize -d as shorthand for --detach
  git-checkout.txt: document -d short option for --detach
Documentation/git-worktree.txt
builtin/worktree.c