Created
January 15, 2019 21:53
-
-
Save ruaanvds/0605414eafe3c3a67a7f810935a39f99 to your computer and use it in GitHub Desktop.
Emergency commit squash
This file contains 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
git reset $(git merge-base master $(git rev-parse --abbrev-ref HEAD)) | |
git add -A | |
git commit -m "Commit message" | |
git push -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment