#1138 fix checkout

This commit is contained in:
rootzoll 2020-04-26 22:51:18 +02:00
parent 36577cbea3
commit f30cc36500

View File

@ -72,7 +72,7 @@ if [ ${#wantedBranch} -gt 0 ]; then
git checkout -b ${wantedBranch} origin/${wantedBranch}
else
echo "# changing branch .."
git checkout origin/${wantedBranch}
git checkout ${wantedBranch}
fi
activeBranch=$(git branch | grep \* | cut -d ' ' -f2)