Commit 89ae2373 authored by norvell's avatar norvell
Browse files

Add git fetch, git restore to update-scripts-repo

parent 4dca2ea1
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 -