]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
"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

1  2 
Documentation/git-worktree.txt
builtin/worktree.c

Simple merge
Simple merge