LoginSignup
12
10

More than 5 years have passed since last update.

git treeのエイリアス設定

Posted at

新しい環境を用意するときに、いつもエイリアスを忘れるのでメモ。

git logをサマリ&ツリーで見られるので重宝させていただいています。
どこでブランチ分かれたとかもわかるし。

~/.gitconfig
[alias]
    tree = log --graph --date=short --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'

あとで何か思い出したら追記するかも。

12
10
0

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
12
10