Skip to content

Instantly share code, notes, and snippets.

View timcunningham's full-sized avatar

Tim Cunningham timcunningham

View GitHub Profile
@timcunningham
timcunningham / .gitconfig
Created August 17, 2012 16:51
Add this to the .gitConfig file in your repository
#Add this to your .gitConfig file in your .git folder
#To to execute type at git bash: git log-json > ChangeLog.json
#It will save the output to a file named ChangeLog.json
#You can use this file to create your own pretty version of the ChangeLog
[alias]
log-json = !git log --pretty=format:'\"%h\": {%n \"commit\": \"%H\",%n \"author\": \"%an <%ae>\",%n \"date\": \"%ai\",%n \"message\": \"%s\"%n},'