Created
May 13, 2014 08:53
-
-
Save chris-rock/b25cebe1c56d2623b479 to your computer and use it in GitHub Desktop.
Filter empty git commits
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
git filter-branch --commit-filter 'git_commit_non_empty_tree "$@"' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment