feat(github): push force contributor branch.
This commit is contained in:
parent
3fd6da06e0
commit
c00c240c14
4 changed files with 28 additions and 4 deletions
4
.github/rpr.sh
vendored
4
.github/rpr.sh
vendored
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# git config --global alias.rpr '!sh .github/rpr.sh'
|
||||
|
||||
|
@ -33,4 +33,4 @@ trap clean EXIT
|
|||
.github/cpr.sh $pr
|
||||
|
||||
git rebase $base
|
||||
git push --force-with-lease $remote "$pr--$branch"
|
||||
git push --force-with-lease $remote $pr--$branch:$branch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue