]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
also let's fix upstream (pull/push) to origin/master
authorRoland Häder <roland@mxchange.org>
Thu, 17 Aug 2017 20:32:19 +0000 (22:32 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 17 Aug 2017 20:32:57 +0000 (22:32 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
fix-project-remotes.sh

index 0ceb6d52a6c8bfba53f70234abdda71b3393264a..a9a928872552142125d40c053e3658c2b68f1870 100755 (executable)
@@ -204,6 +204,9 @@ for project in ${LIST}; do
                fi
        fi
 
+       echo "$0: Setting upstream to '${GIT_ORIGIN}/${GIT_BRANCH}' ..."
+       git branch --set-upstream-to "${GIT_ORIGIN}/${GIT_BRANCH}"
+
        # Is not an application by default
        IS_APP=""