Fix a bug in mfup
This commit is contained in:
parent
cca1cca3a5
commit
28deff01b8
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ echo "Fetching upstream ($ORG/$REPO)..."
|
|||
git fetch upstream
|
||||
|
||||
echo ; echo "Bringing $TARG up to date..."
|
||||
if [[ git checkout -q $TARG ]]; then
|
||||
if [[ ! $(git checkout -q $TARG) ]]; then
|
||||
git reset --hard upstream/$TARG
|
||||
git push -f origin
|
||||
else
|
||||
|
|
Reference in a new issue