From: Roland Haeder Date: Tue, 19 Apr 2016 06:54:20 +0000 (+0200) Subject: Added support for 'origin' repository X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9e61088d479be705e137be2ead2ab106252f2e82;p=jprojects-scripts.git Added support for 'origin' repository Signed-off-by: Roland Haeder --- diff --git a/pull-stick.sh b/pull-stick.sh index f8b7834..1c20816 100755 --- a/pull-stick.sh +++ b/pull-stick.sh @@ -24,7 +24,11 @@ for project in ${LIST}; do then git pull --all || exit 255 else - git pull transport master || exit 255 + git pull transport master + if [ "$?" != "0" ] + then + git pull --all || exit 255 + fi fi echo "$0: Rebasing '${project}' ..."