forked from Ivasoft/traefik
.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:
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
|
||||
|
||||
Reference in New Issue
Block a user