aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-checkout.txt
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2020-09-06 20:02:20 -0400
committerJunio C Hamano <gitster@pobox.com>2020-09-06 18:53:56 -0700
commit07351d98992ba17ee9249b80f325f7f2c56a2251 (patch)
tree446cb91cfc18b42f172b4aa83055e5d444937ef1 /Documentation/git-checkout.txt
parent3a238e539bcdfe3f9eb5010fd218640c1b499f7a (diff)
downloadgit-07351d98992ba17ee9249b80f325f7f2c56a2251.tar.gz
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>
Diffstat (limited to 'Documentation/git-checkout.txt')
-rw-r--r--Documentation/git-checkout.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt
index 5b697eee1b..afa5c11fd3 100644
--- a/Documentation/git-checkout.txt
+++ b/Documentation/git-checkout.txt
@@ -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.