Skip to content

Commit

Permalink
fix: Do not default --force flag on push
Browse files Browse the repository at this point in the history
This should not be default.
  • Loading branch information
josegonzalez authored Dec 8, 2020
1 parent 378c5a6 commit b6bf6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/dokku-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ if [ -n "$REVIEW_APP_NAME" ] && [ "$app_name" != "$REVIEW_APP_NAME" ]; then
GIT_REMOTE_URL="${GIT_REMOTE_URL%"/$app_name"}/${REVIEW_APP_NAME}"
fi

git push "$GIT_PUSH_FLAGS" "$GIT_REMOTE_URL" "$commit_sha:refs/heads/$BRANCH" --force
git push "$GIT_PUSH_FLAGS" "$GIT_REMOTE_URL" "$commit_sha:refs/heads/$BRANCH"

0 comments on commit b6bf6ee

Please sign in to comment.