[PATCH v5 3/5] doc: git rebase: clarify arguments syntax
- From
Julia Evans via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Aug 11, 2025, 20:12 UTC
- Message-ID
- <948c205f1e6c005d008030b06e20a4069cd4c50e.1754943127.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.1949.v5.git.1754943127.gitgitgadget@gmail.com>
From: Julia Evans <julia@jvns.ca>
Remove duplicate explanation of `git rebase <upstream> <branch>` which is already explained above.
Signed-off-by: Julia Evans <julia@jvns.ca> --- Documentation/git-rebase.adoc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Documentation/git-rebase.adoc b/Documentation/git-rebase.adoc index 4ba74a8cf9ba..117c3f43719f 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
-- gitgitgadget