Skip to content

Instantly share code, notes, and snippets.

@gabrielso
Created January 5, 2012 16:10
Show Gist options
  • Save gabrielso/1565914 to your computer and use it in GitHub Desktop.
Save gabrielso/1565914 to your computer and use it in GitHub Desktop.
git hist
Coloque isso em seu ~/.gitconfig:
[alias]
hist = log --pretty=format:\"%h %ad | %s%d [%an]\"
depois é só usar:
$> git hist -10
-- mostra os últimos 10 commits formatado "bunitinho"
$> git hist -100 --graph
-- mostra os últimos 100 commits com gráfico de branches
:)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment