X-Git-Url: https://git.mxchange.org/?p=jprojects-scripts.git;a=blobdiff_plain;f=fix-project-remotes.sh;h=a9a928872552142125d40c053e3658c2b68f1870;hp=0ceb6d52a6c8bfba53f70234abdda71b3393264a;hb=4ecec918fe5dbaf6658cbe02b6a33f629df5da26;hpb=0f8d671861eb60f92a77469608733ba91e524a84 diff --git a/fix-project-remotes.sh b/fix-project-remotes.sh index 0ceb6d5..a9a9288 100755 --- a/fix-project-remotes.sh +++ b/fix-project-remotes.sh @@ -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=""