aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-rebase.txt
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-07-19 18:33:42 +0000
committerJunio C Hamano <gitster@pobox.com>2022-07-19 12:49:04 -0700
commit3113fedaeb67eed4c46ef7bdd670b8406317a303 (patch)
tree8bc5de79a9222aa73d7a9f40f3878e17afe8c42a /Documentation/git-rebase.txt
parentb3b1a21d1a5df87e81fa8b53c6c3cf9760ca12d4 (diff)
downloadgit-3113fedaeb67eed4c46ef7bdd670b8406317a303.tar.gz
rebase: add rebase.updateRefs config option
The previous change added the --update-refs command-line option. For users who always want this mode, create the rebase.updateRefs config option which behaves the same way as rebase.autoSquash does with the --autosquash option. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-rebase.txt')
-rw-r--r--Documentation/git-rebase.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index dfd847d661..305255f1e1 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -614,6 +614,9 @@ start would be overridden by the presence of
Automatically force-update any branches that point to commits that
are being rebased. Any branches that are checked out in a worktree
are not updated in this way.
++
+If the configuration variable `rebase.updateRefs` is set, then this option
+can be used to override and disable this setting.
INCOMPATIBLE OPTIONS
--------------------