@matheusbsbs / matheus-bagliano / commits / 07351d9899
Fork 0

git-checkout.txt: document -d short option for --detach

`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>

Eric Sunshine committed Sep 6, 2020 at 20:02 UTC 07351d98992ba17ee9249b80f325f7f2c56a2251
1 file changed +1
Documentation/git-checkout.txt
+1
@@ -198,6 +198,7 @@ Use `--no-guess` to disable this.
198 Create the new branch's reflog; see linkgit:git-branch[1] for
199 details.
200
201 +-d::
202 --detach::
203 Rather than checking out a branch to work on it, check out a
204 commit for inspection and discardable experiments.