diff --git a/modules/jenkins/files/slave_scripts/propose_requirements_update.sh b/modules/jenkins/files/slave_scripts/propose_requirements_update.sh index 339a449dd3..c7486eb0c4 100755 --- a/modules/jenkins/files/slave_scripts/propose_requirements_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_requirements_update.sh @@ -61,7 +61,7 @@ EOF # make sure the project even has this branch if git branch -a | grep -q "^ remotes/origin/$BRANCH$" ; then - git checkout origin/${BRANCH} + git checkout -B ${BRANCH} -t origin/${BRANCH} git review -s popd