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 0ceb6d5..a9a9288 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=""