Explorar o código

Use currently active branch

andryyy %!s(int64=8) %!d(string=hai) anos
pai
achega
aa89603dc4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -18,7 +18,7 @@ echo -e "\e[32mCommitting current status...\e[90m"
 git add -u
 git commit -am "Before update on ${DATE}" > /dev/null
 echo -e "\e[32mFetching updated code from remote...\e[90m"
-git fetch origin master
+git fetch origin ${BRANCH}
 echo -e "\e[32mMerging local with remote code...\e[90m"
 git merge -Xtheirs -Xpatience -m "After update on ${DATE}"