Created
April 3, 2019 08:04
-
-
Save matthiasbaldi/59dc9a2eaefb6ba99efb179958860335 to your computer and use it in GitHub Desktop.
GIT squash a PR to one commit
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
# the hash describes the commit you want to go back | |
git reset --soft <hash> | |
git commit -m "<message>" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment