From: Julia Evans <redacted>
This removes the explanation of `git rebase <upstream> <branch>`, since
it was already explained above that it's shorthand for `git switch
<branch> && git rebase <upstream>`
Signed-off-by: Julia Evans <redacted>
---
Documentation/git-rebase.adoc | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/Documentation/git-rebase.adoc b/Documentation/git-rebase.adoc
index a93c616f38b1..e700b92e35ac 100644
--- a/Documentation/git-rebase.adoc
+++ b/Documentation/git-rebase.adoc
@@ -59,12 +59,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