Created
May 6, 2020 12:25
-
-
Save cbilgili/094b4dfb2162c61ed7e14a73dbc4ca21 to your computer and use it in GitHub Desktop.
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
2020 Simple solution without rebase : | |
git reset --soft HEAD~2 | |
git commit -m "new commit message" | |
git push --force | |
2 means the last two commits will be squashed. You can replace it by any number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment