Added support for 'origin' repository
authorRoland Häder <roland@mxchange.org>
Tue, 19 Apr 2016 06:54:20 +0000 (08:54 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 19 Apr 2016 06:54:20 +0000 (08:54 +0200)
Signed-off-by: Roland Haeder <roland@haeder.net>
pull-stick.sh

index f8b7834..1c20816 100755 (executable)
@@ -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}' ..."