From: Roland Haeder Date: Fri, 13 May 2016 19:21:48 +0000 (+0200) Subject: No more abort + merging upstream added (work). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=46239c0bf91e39cd12fe572066f3c0b92b9ff878;p=jprojects-scripts.git No more abort + merging upstream added (work). Signed-off-by: Roland Haeder --- diff --git a/pull-stick.sh b/pull-stick.sh index c655783..4eeb02e 100755 --- a/pull-stick.sh +++ b/pull-stick.sh @@ -29,13 +29,16 @@ for project in ${LIST}; do if [ "$?" != "0" ] then - git pull --all || exit 255 + git pull --all fi + echo "$0: Merging upstream into '${project}' ..." + git merge -S upstream/master + if [ "$1" != "s" ] then echo "$0: Rebasing '${project}' ..." - git rebase origin/master || exit 255 + git rebase -Sm origin/master || exit 255 fi done