Skip to content

Commit 07351d9

Browse files
sunshinecogitster
authored andcommitted
git-checkout.txt: document -d short option for --detach
`git checkout` learned -d as short option for --detach in 163e3b2 (switch: add short option for --detach, 2019-03-29) but the documentation was never updated to reflect the change. Signed-off-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3a238e5 commit 07351d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/git-checkout.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ Use `--no-guess` to disable this.
198198
Create the new branch's reflog; see linkgit:git-branch[1] for
199199
details.
200200

201+
-d::
201202
--detach::
202203
Rather than checking out a branch to work on it, check out a
203204
commit for inspection and discardable experiments.

0 commit comments

Comments
 (0)