git log and show commits and export theme.

Every wonder how to get a nice formatted log in git here is how to do it with –since and –pretty options :

git log --since='last month' --pretty=format:'%h,%an,%ar,%s'

the above example display the hash of you commit, the author name, commit time “ago format”, and the commit message.

Leave a Reply

Your email address will not be published. Required fields are marked *