]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-checkout.txt: document -d short option for --detach
authorEric Sunshine <sunshine@sunshineco.com>
Mon, 7 Sep 2020 00:02:20 +0000 (20:02 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Sep 2020 01:53:56 +0000 (18:53 -0700)
`git checkout` learned -d as short option for --detach in 163e3b2975
(switch: add short option for --detach, 2019-03-29) but the
documentation was never updated to reflect the change.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt

index 5b697eee1b7632a046b48d488b3c3af75ad7fa45..afa5c11fd3c4d58f978e5bb99a03517c642584c6 100644 (file)
@@ -198,6 +198,7 @@ Use `--no-guess` to disable this.
        Create the new branch's reflog; see linkgit:git-branch[1] for
        details.
 
+-d::
 --detach::
        Rather than checking out a branch to work on it, check out a
        commit for inspection and discardable experiments.