LoginSignup
8
8

More than 5 years have passed since last update.

git のログを見やすく表示

Last updated at Posted at 2012-12-26
~/.gitconfig
[alias]
        tree = log --full-history --graph --date=short --pretty=format:\"%Cgreen%h %cd %Cblue%an %Cred%d %Creset%s\"

git tree では現在のブランチにマージされているものだけ表示
git tree --all とするとそれ以外のブランチなども表示

git tree

EDIT: cherry-pick したときに困るので名前表示を "committer name" から "author name" に変更

8
8
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8