um log git com cores úteis, gráficos e mensagens compactas de commit

um log git com cores úteis, gráficos e mensagens compactas de confirmação.

$> git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"

$
> git lg

resultado:

| * b5aa9ad - blah blah (2 weeks ago) <coder>
|/
* ac123cc - blah blah bug (2 weeks ago) <coder>
* 4b4113f - reorganizes gems (3 weeks ago) <coder>
* 6b1dd88 - adds rbenv config file (3 weeks ago) <coder>
* d10aaf4 - solves churn calculator bug (3 weeks ago) <coder>
* 550cc8c - defines ruby versions in Gemfile (3 weeks ago) <coder>
* dc11f76 - Merge pull request #1 from coder/master (3 weeks ago) <coder>
|
| * daasceb - makes compliant with rubocop style guide (3 weeks ago) <coder>
| * 1aee9ca - installs gems cucumber and database_cleaner (3 weeks ago) <coder>
| * 68ee59c - removes references to Active Record from spec helper (3 weeks ago) <coder>
| * 56ee975 - installs rspec-rails gem (3 weeks ago) <coder>
| * 66eebb7 - adds mongoid development and test configs (3 weeks ago) <coder>
| * 25ee601 - installs gems mongoid and bson_ext (3 weeks ago) <coder>
| * c0ee061 - create the rails app (3 weeks ago) <coder>
|/
* 4fac144 - Initial commit (7 weeks ago)

uma ótima dica do Hugo !