From 9e61088d479be705e137be2ead2ab106252f2e82 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 19 Apr 2016 08:54:20 +0200 Subject: [PATCH] Added support for 'origin' repository Signed-off-by: Roland Haeder --- pull-stick.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}' ..." -- 2.39.5