Last active
June 23, 2023 18:15
-
-
Save carlosrabelo/b788703a2925848157e9ff740389374a to your computer and use it in GitHub Desktop.
squash all commits in one
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-squash-commit='git reset $(git commit-tree HEAD^{tree} -m "Initial commit")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment