Fix a bug in mfup
This commit is contained in:
parent
cca1cca3a5
commit
28deff01b8
|
@ -28,7 +28,7 @@ echo "Fetching upstream ($ORG/$REPO)..."
|
||||||
git fetch upstream
|
git fetch upstream
|
||||||
|
|
||||||
echo ; echo "Bringing $TARG up to date..."
|
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 reset --hard upstream/$TARG
|
||||||
git push -f origin
|
git push -f origin
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue