From 6eabcecc5c53c9a099ab79c08779d6307ec945fe Mon Sep 17 00:00:00 2001 From: TheK4n Date: Sun, 29 Jan 2023 14:26:05 +0300 Subject: [PATCH] edit(git): alias hist add colors --- sub/git/gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sub/git/gitconfig b/sub/git/gitconfig index d7a4696..c4d8501 100644 --- a/sub/git/gitconfig +++ b/sub/git/gitconfig @@ -35,7 +35,7 @@ bm = branch --merged bn = branch --no-merged df = "!git hist | peco | awk '{print $2}' | xargs -I {} git diff {}^ {}" - hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --all + hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --all --color=always llog = log --graph --name-status --pretty=format:\"%C(red)%h %C(reset)(%cd) %C(green)%an %Creset%s %C(yellow)%d%Creset\" --date=relative open = "!hub browse" type = cat-file -t