aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJulia Evans <julia@jvns.ca>2025-09-10 19:14:27 +0000
committerJunio C Hamano <gitster@pobox.com>2025-09-10 14:32:04 -0700
commit0dd71f607c2b16e56b72a1e86262eb2b9e52e343 (patch)
treed654c99858be47514add3b7d9a311caf7cfc5d48 /builtin/commit.c
parentdoc: git-checkout: clarify `-b` and `-B` (diff)
downloadgit-0dd71f607c2b16e56b72a1e86262eb2b9e52e343.tar.gz
git-0dd71f607c2b16e56b72a1e86262eb2b9e52e343.zip
doc: git-checkout: deduplicate --detach explanation
From user feedback: several users say they don't understand the use case for `--detach`. It's probably not realistic to explain the use case for detached HEAD state here, but we can improve the situation. Explain how `git checkout --detach` is different from `git checkout <branch>` instead of copying over the description from `git checkout <branch>`, since `git checkout <branch>` will be a familiar command to many readers. Signed-off-by: Julia Evans <julia@jvns.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions