fix: make reference push repeatable

This commit is contained in:
Hamza Ayed
2026-09-29 22:40:38 +03:00
parent ce1b22f100
commit 18d17eba50
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,5 +29,5 @@ if ($diffExitCode -eq 1) {
throw 'Could not inspect staged changes.'
}
git -c http.proxy= -c https.proxy= push --set-upstream origin $branch
git -c http.proxy= -c https.proxy= push origin $branch
if ($LASTEXITCODE -ne 0) { throw 'git push failed. Check network access and Git credentials.' }
+1 -1
View File
@@ -24,4 +24,4 @@ if ! git diff --cached --quiet; then
git commit -m "$COMMIT_MESSAGE"
fi
git -c http.proxy= -c https.proxy= push --set-upstream origin "$BRANCH"
git -c http.proxy= -c https.proxy= push origin "$BRANCH"