]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: git rebase: clarify arguments syntax
authorJulia Evans <julia@jvns.ca>
Sat, 23 Aug 2025 00:43:00 +0000 (00:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Aug 2025 16:03:29 +0000 (09:03 -0700)
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>
Documentation/git-rebase.adoc

index e82ceb9cbfcefa860ffc9c4291426402e3f3b6a7..6d02648a9b3ceeee6ccf6fd4cc3f8a159c07b6ae 100644 (file)
@@ -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