Skip to content

Commit

Permalink
Avoid cleaning untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Dec 12, 2024
1 parent 746a21f commit 6a58672
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion entrypoints/setup_git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ git remote add origin "${REPO}"
git fetch
DEFAULT_BRANCH=$(git remote show origin | sed -n '/HEAD branch/s/.*: //p')
git reset --hard origin/"${DEFAULT_BRANCH}"
git clean -fd
if [ -n "${TAG}" ]
then
git checkout "${TAG}"
Expand Down

0 comments on commit 6a58672

Please sign in to comment.