aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJulia Evans <julia@jvns.ca>2025-08-23 00:43:00 +0000
committerJunio C Hamano <gitster@pobox.com>2025-08-23 09:03:29 -0700
commit1469715a9c9dc6e291567fcee16cda9943767138 (patch)
tree60e14172ce99ab4fe756835c05a4bced2d7bc130 /Documentation
parentaf5a099197fca46fd0a255fe036ab03f2d63ffe3 (diff)
downloadgit-1469715a9c9dc6e291567fcee16cda9943767138.tar.gz
doc: git rebase: clarify arguments syntax
Remove duplicate explanation of `git rebase <upstream> <branch>` which is already explained above. Signed-off-by: Julia Evans <julia@jvns.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-rebase.adoc6
1 files changed, 1 insertions, 5 deletions
diff --git a/Documentation/git-rebase.adoc b/Documentation/git-rebase.adoc
index e82ceb9cbf..6d02648a9b 100644
--- a/Documentation/git-rebase.adoc
+++ b/Documentation/git-rebase.adoc
@@ -62,11 +62,7 @@ one of these things:
git rebase --skip
-If `<branch>` is specified, `git rebase` will perform an automatic
-`git switch <branch>` before doing anything else. Otherwise
-it remains on the current branch.
-
-If `<upstream>` is not specified, the upstream configured in
+If you don't specify an `<upstream>` to rebase onto, the upstream configured in
`branch.<name>.remote` and `branch.<name>.merge` options will be used (see
linkgit:git-config[1] for details) and the `--fork-point` option is
assumed. If you are currently not on any branch or if the current