|
|
@ -38,6 +38,7 @@ function pull_repo { |
|
|
git clone $REPO_URL --branch $REPO_BRANCH . |
|
|
git clone $REPO_URL --branch $REPO_BRANCH . |
|
|
git config --global init.defaultBranch $REPO_BRANCH |
|
|
git config --global init.defaultBranch $REPO_BRANCH |
|
|
git config pull.rebase true |
|
|
git config pull.rebase true |
|
|
|
|
|
FORCE=true |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if git fetch origin $REPO_BRANCH --dry-run --verbose 2>&1 | grep -q " =.*\-> origin\/$REPO_BRANCH"; then |
|
|
if git fetch origin $REPO_BRANCH --dry-run --verbose 2>&1 | grep -q " =.*\-> origin\/$REPO_BRANCH"; then |
|
|
|