add git graph command

This commit is contained in:
Oystein Kristoffer Tveit 2021-05-22 19:30:06 +02:00
parent 1dd669e4d2
commit 22319e4501
1 changed files with 4 additions and 0 deletions

4
general/.gitconfig Normal file
View File

@ -0,0 +1,4 @@
[alias]
graph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
graphv = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
g = !"git graph"