Created
March 2, 2016 14:33
-
-
Save seripap/3c25211b77027b3e351a to your computer and use it in GitHub Desktop.
Squash commit (bash/profile)
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
# squash integer | |
function squash() { | |
git rebase -i HEAD~${1} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment