aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-02-16 07:45:48 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-17 08:37:51 -0800
commit1278a26544e81dddf564fd7730890a7e023ed367 (patch)
treef9714b5bfaa0ebd8e5b48a2c57aacd2a2542c9ed
parent060e602dcb4ce94cd57ccdc4256a136fc36d9c40 (diff)
downloadgit-1278a26544e81dddf564fd7730890a7e023ed367.tar.xz
Documentation/git-history: document default for "--update-refs="
While we document the values that can be passed to the "--update-refs=" option, we don't give the user any hint what the default behaviour is. Document it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-history.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-history.adoc b/Documentation/git-history.adoc
index 4dbe665ec4..cc019de697 100644
--- a/Documentation/git-history.adoc
+++ b/Documentation/git-history.adoc
@@ -70,7 +70,7 @@ OPTIONS
Control which references will be updated by the command, if any. With
`branches`, all local branches that point to commits which are
descendants of the original commit will be rewritten. With `head`, only
- the current `HEAD` reference will be rewritten.
+ the current `HEAD` reference will be rewritten. Defaults to `branches`.
GIT
---