logを見やすくするエイリアス設定
gitのlogを見やすくするためgraphのエイリアス設定をする
~/.gitconfigに以下を追記。
[alias]
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
grapha = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
参考サイト
美しき git log --graph のエイリアス - Hack Your Design!
Gitのちょっと便利な使い方 (ゆめ技:ゆめみスタッフブログ)