Created
February 5, 2020 16:28
-
-
Save banagale/0f5883aca2d9fc8ad3d9c6fc7e3ac799 to your computer and use it in GitHub Desktop.
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
# Squash X commits with an opportunity to update the message headline and body: | |
git reset --soft HEAD~X && | |
git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment