Skip to content

Commit ce7ab74

Browse files
committed
doc: git rebase: clarify arguments syntax
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 <[email protected]>
1 parent 249a512 commit ce7ab74

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Documentation/git-rebase.adoc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,7 @@ one of these things:
5959
6060
git rebase --skip
6161
62-
63-
If `<branch>` is specified, `git rebase` will perform an automatic
64-
`git switch <branch>` before doing anything else. Otherwise
65-
it remains on the current branch.
66-
67-
If `<upstream>` is not specified, the upstream configured in
62+
If you don't specify an `<upstream>` to rebase onto, the upstream configured in
6863
`branch.<name>.remote` and `branch.<name>.merge` options will be used (see
6964
linkgit:git-config[1] for details) and the `--fork-point` option is
7065
assumed. If you are currently not on any branch or if the current

0 commit comments

Comments
 (0)