Created
May 15, 2017 16:59
-
-
Save viveknarang/141ab289789b0fe55b09409f99d84c75 to your computer and use it in GitHub Desktop.
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 log \ | |
--pretty=format:'{%n "commit": "%H",%n "author": "%aN",%n "date": "%ad",%n "message": "%f",%n "author email": "%ae",%n "timestamp": "%at",%n "committer name": "%cn",%n "committer email": "%ce",%n "commit date": "%cd"%n},' \ | |
$@ | \ | |
perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
perl -pe 's/},]/}]/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment