Loading .gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,8 @@ stages: .update-scripts-repo: &update-scripts-repo - cd $SCRIPTS_DIR - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO - 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 Loading Loading
.gitlab-ci.yml +2 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,8 @@ stages: .update-scripts-repo: &update-scripts-repo - cd $SCRIPTS_DIR - git remote set-branches --add origin $BASOP_CI_BRANCH_PC_REPO - 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 Loading