LoginSignup
7
6

More than 5 years have passed since last update.

Gitのちょっと便利な使い方 (git graph)

Posted at

昔、会社のBlogでGitのコマンドラインでマージの履歴を目で追える方法を紹介したのですが、いまはちょっと改造して使ってます。

.gitconfig
[alias]
        graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] 
%Cgreen%d%Creset %s\" --all --date=short

--allを外したバージョンもあると便利
g = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --date=short

7
6
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
7
6