.github/rpr.sh: Use --force-with-lease instead of --force.
This prevents accidentally overriding a branch that has been changed remotely by another party.
This commit is contained in:
parent
6e8e597ff5
commit
4148266ed0
1 changed files with 1 additions and 1 deletions
2
.github/rpr.sh
vendored
2
.github/rpr.sh
vendored
|
@ -33,4 +33,4 @@ trap clean EXIT
|
|||
.github/cpr.sh $pr
|
||||
|
||||
git rebase $base
|
||||
git push -f $remote $branch
|
||||
git push --force-with-lease $remote $branch
|
||||
|
|
Loading…
Reference in a new issue