Skip to content

Commit dfede61

Browse files
authored
Merge pull request #1808 from Kobzol/rebase
Use a safer command for rebase
2 parents da0d5ac + 8ea0c42 commit dfede61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/handlers/no_merges.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ so these commits will need to be removed for this pull request to be merged.
8888
You can start a rebase with the following commands:
8989
```shell-session
9090
$ # rebase
91-
$ git rebase -i master
91+
$ git pull --rebase https://github.com/rust-lang/rust.git master
9292
$ # delete any merge commits in the editor that appears
9393
$ git push --force-with-lease
9494
```
@@ -228,7 +228,7 @@ There are merge commits (commits with multiple parents) in your changes. We have
228228
You can start a rebase with the following commands:
229229
```shell-session
230230
$ # rebase
231-
$ git rebase -i master
231+
$ git pull --rebase https://github.com/rust-lang/rust.git master
232232
$ # delete any merge commits in the editor that appears
233233
$ git push --force-with-lease
234234
```

0 commit comments

Comments
 (0)