Skip to content

Commit 04ba254

Browse files
fix
1 parent fe2c019 commit 04ba254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ if [ -d "$CLONE_DIR" ]; then
109109
if git status &> /dev/null ; then
110110
# Reset the remote URL because the embedded user token may have changed
111111
git remote set-url origin $REPO
112-
git remote set-head origin --auto
113112

114113
echo "Cleaning up the working directory"
115114
git reset -q --hard
@@ -120,6 +119,7 @@ if [ -d "$CLONE_DIR" ]; then
120119

121120
echo "Fetching the updates from origin"
122121
git_retry git fetch --tags
122+
git remote set-head origin --auto
123123

124124
if [ -n "$REVISION" ]; then
125125

0 commit comments

Comments
 (0)