Created
October 29, 2009 21:43
-
-
Save cmilfont/221880 to your computer and use it in GitHub Desktop.
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
#Comandos úteis para o git | |
# exibir quantos commits por autor | |
git log | grep ^Author | cut -d\< -f1 | sort | uniq -c | sort -n -r | head -20 | |
#formatar o grafo de commits com um alias lg | |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment