Created
May 4, 2020 05:31
-
-
Save dalmosantos/365c7e50cf740eef3231595089f5087d to your computer and use it in GitHub Desktop.
git log --pretty
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 --pretty --date-order -C -M --pretty=format:"<%h> %ad [%an] %Cgreen%d%Creset %s" --all --date=short --max-count=10 | |
git log --pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' --max-count=10 $@ | 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