Last active
July 5, 2018 15:51
-
-
Save darkmavis1980/ac8221c23c1c4e86b7e1b2183d48c8dc to your computer and use it in GitHub Desktop.
Force git push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When somebody fucked up the repo big time and the pre-hook fails without giving you an error, run this | |
git push --force --no-verify origin master | |
// or shorter | |
git push -f --no-verify origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment