Loading .gitlab-ci.yml +0 −4 Original line number Diff line number Diff line Loading @@ -125,10 +125,6 @@ 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 - for branch in $(git branch | grep -v $BASOP_CI_BRANCH_PC_REPO | sed 's/\*//'); do git branch -D $branch; done - git remote prune origin - git prune - git branch - git checkout $BASOP_CI_BRANCH_PC_REPO - git pull - cd - Loading Loading
.gitlab-ci.yml +0 −4 Original line number Diff line number Diff line Loading @@ -125,10 +125,6 @@ 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 - for branch in $(git branch | grep -v $BASOP_CI_BRANCH_PC_REPO | sed 's/\*//'); do git branch -D $branch; done - git remote prune origin - git prune - git branch - git checkout $BASOP_CI_BRANCH_PC_REPO - git pull - cd - Loading