Fix a bug in mfup

master
Scott Lahteine 8 years ago committed by GitHub
parent cca1cca3a5
commit 28deff01b8

@ -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

Loading…
Cancel
Save