From: Roland Häder Date: Sat, 25 Jun 2022 13:41:49 +0000 (+0200) Subject: Also allow explicit push to "origin" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8de6c1d5b5fcb3833aff595fd417bfdbc663db0d;p=jprojects-scripts.git Also allow explicit push to "origin" --- diff --git a/push-stick.sh b/push-stick.sh index 1fcc7dc..3c02302 100755 --- a/push-stick.sh +++ b/push-stick.sh @@ -55,6 +55,14 @@ for project in ${LIST}; do fi git push ${FORCE} --all upstream || exit 255 + elif [ "$1" = "o" ] + then + if [ -n "$2" ] + then + git push origin :"$2" + fi + + git push ${FORCE} --all origin || exit 255 else if [ -n "$2" ] then