Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#119 Add "useforce" argument to enforce usage of --force #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Hacklone
Copy link

@Hacklone Hacklone commented Nov 4, 2022

Add useforce argument to enforce usage of --force when switching branches to avoid unnecessary double deploy

… switching branches to avoid unnecessary double deploy
@Hacklone
Copy link
Author

@AkhileshNS: Can you please check this PR, would tremendously help our GH actions :) Thanks

@Hacklone
Copy link
Author

Anyone?

@Hacklone
Copy link
Author

@AkhileshNS: Is this project still live? There are many open PRs with valuable additions :)

@danilogco
Copy link

Hey, @AkhileshNS. Can you check this PR? It would be nice to have it available.

@Gieted
Copy link

Gieted commented May 17, 2023

Would be very useful. My workflow generates some extra files before deploying to Heroku, so it always fails the first attempt.

From https://github.com/myapp/backend
 * [new branch]      preprod    -> origin/preprod
 * [new branch]      prod       -> origin/prod
Created and wrote to ~/.netrc
Successfully logged into heroku
 ›   Warning: Our terms of service have changed: 
Added git remote heroku
 ›   https://dashboard.heroku.com/terms-of-service
To https://git.heroku.com/myapp-test.git
 ! [rejected]        HEAD -> main (fetch first)
error: failed to push some refs to 'https://git.heroku.com/myapp-test.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

@Hacklone
Copy link
Author

Sent an email to @AkhileshNS but sadly no response. :( Hope he's alright

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants