Complete the conditional branches.
This commit is contained in:
@@ -568,8 +568,11 @@
|
|||||||
dev_exists="$?"
|
dev_exists="$?"
|
||||||
if [[ "$dev_exists" == 0 ]]; then
|
if [[ "$dev_exists" == 0 ]]; then
|
||||||
git switch dev
|
git switch dev
|
||||||
else
|
elif [[ "$dev_exists" == 2 ]]; then
|
||||||
git switch main
|
git switch main
|
||||||
|
else
|
||||||
|
echo "ERROR: Unknown status for dev_exists, '$dev_exists'."
|
||||||
|
continue
|
||||||
fi
|
fi
|
||||||
git pull
|
git pull
|
||||||
git push
|
git push
|
||||||
|
Reference in New Issue
Block a user