Tweaks to git helpers
This commit is contained in:
parent
4584a52ba5
commit
d4a5b10133
2 changed files with 4 additions and 6 deletions
|
|
@ -23,8 +23,5 @@ done
|
|||
|
||||
[[ $USAGE == 1 ]] && { echo "usage: `basename $0` [1|2|3]" 1>&2 ; exit 1 ; }
|
||||
|
||||
# If the branch isn't currently the PR target
|
||||
if [[ $TARG != $CURR ]]; then
|
||||
[[ $QUICK ]] || git fetch upstream
|
||||
git rebase upstream/$TARG && git rebase -i upstream/$TARG
|
||||
fi
|
||||
[[ $QUICK ]] || git fetch upstream
|
||||
git rebase upstream/$TARG && git rebase -i upstream/$TARG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue