Created
April 13, 2017 14:49
-
-
Save caiguanhao/6b5521da8f2b4fc74deb6d618d87ac07 to your computer and use it in GitHub Desktop.
fake 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 log --reverse --pretty=format:"%at %s" | awk '{print "GIT_AUTHOR_DATE="$1" GIT_COMMITTER_DATE="$1" git commit --allow-empty -m \"" substr($0,12) "\""}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment