Skip to content

Commit

Permalink
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
Browse files Browse the repository at this point in the history
  • Loading branch information
eti-codefresh committed Sep 2, 2024
1 parent f7fea10 commit 9f1ea54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,8 @@ if [ -d "$CLONE_DIR" ]; then
echo "Fetching updates from origin${DEPTH:+ with depth $DEPTH}, skipping tags"
git_retry git fetch origin ${REVISION:+$REVISION} --prune --no-tags ${DEPTH:+ --depth=$DEPTH}
else
# In order to not change logic that already working we keeping git_retry git fetch --tags
# This command fetches updates from all configured remotes in your repository, not just from "origin".
echo "Fetching updates from origin"
git_retry git fetch origin --tags --prune "+refs/tags/*:refs/tags/*"
git_retry git fetch --tags
fi

git remote set-head origin --auto
Expand Down

0 comments on commit 9f1ea54

Please sign in to comment.