12
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?