Skip to content

Instantly share code, notes, and snippets.

@darkmavis1980
Last active July 5, 2018 15:51
Show Gist options
  • Save darkmavis1980/ac8221c23c1c4e86b7e1b2183d48c8dc to your computer and use it in GitHub Desktop.
Save darkmavis1980/ac8221c23c1c4e86b7e1b2183d48c8dc to your computer and use it in GitHub Desktop.
Force git push
// 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