diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ceb6cad99198fc45b132063ab183c5b1700e394..654e4b14171dfe1946933ba322edd9b2af704542 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -125,6 +125,8 @@ stages: - cd $SCRIPTS_DIR - sed -i '/fetch/d' .git/config # Remove all fetch lines to clean out dead links - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO # Add currently used branch + - git fetch + - git restore . # Just as a precaution - git checkout $BASOP_CI_BRANCH_PC_REPO - git pull - cd -