File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,10 @@ one of these things:
59
59
60
60
git rebase --skip
61
61
62
+ `git rebase <upstream> <branch>` is shorthand for `git switch <branch>`
63
+ followed by `git rebase <upstream>` .
62
64
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
65
+ If you don't specify an `<upstream>` to rebase onto, the upstream configured in
68
66
`branch.<name>.remote` and `branch.<name>.merge` options will be used (see
69
67
linkgit:git-config[1] for details) and the `--fork-point` option is
70
68
assumed. If you are currently not on any branch or if the current
You can’t perform that action at this time.
0 commit comments