Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git log -n 3 --pretty=format:'{%n "parent": "%P", %n "commit": "%H",%n "author": "%an <%ae>",%n "date": "%ad",%n "message": "%f"%n},' | sed -e '1i\
[' -e '$s/,/]/g' > tmp.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.