Skip to content
Snippets Groups Projects
Commit fc1a016d authored by SPRENGER Julia, NEA/SCI/DB's avatar SPRENGER Julia, NEA/SCI/DB
Browse files

[CI] Avoid diverging branches

parent 930f2a52
Branches test_branch
No related merge requests found
Pipeline #18799 failed with stages
in 10 minutes and 10 seconds
......@@ -33,16 +33,14 @@ stages:
- git config pull.ff only
# Force update of cached repository state
- git fetch origin "$CI_DEFAULT_BRANCH"
# - git fetch origin "$CI_DEFAULT_BRANCH"
# create new branch or checkout existing branch
- git checkout "$CI_DEFAULT_BRANCH"
- git checkout -b "$CI_DEFAULT_BRANCH"
- git branch --set-upstream-to "origin/$CI_DEFAULT_BRANCH" "$CI_DEFAULT_BRANCH"
# Debugging
- git status
- git branch --all
- git pull
- git branch -v --all
image:
entrypoint: ['']
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment