Created
February 2, 2015 23:06
-
-
Save IsTheJack/784723c5f4aabbbdf65f to your computer and use it in GitHub Desktop.
git log 4 Json
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 \"data\":\"%ai\",\ | |
%n \"nome\":\"%an\",\ | |
%n \"email\":\"%ae\",\ | |
%n \"commiter\":\"%cn\",\ | |
%n \"mensagem\":\"%s\"\ | |
%n}" > log4JSON.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Esse shell script formata o resultado do comando 'git log' em formato JSON.