From 2e429ca9b410968e5c1cfb0aa782322565ea0691 Mon Sep 17 00:00:00 2001 From: Thek4n Date: Mon, 27 Nov 2023 10:16:54 +0300 Subject: [PATCH] style(git): history alias --- home/user/.config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/user/.config/git/config b/home/user/.config/git/config index 6a1d07f..2255b91 100644 --- a/home/user/.config/git/config +++ b/home/user/.config/git/config @@ -38,7 +38,7 @@ br = branch bm = branch --merged bn = branch --no-merged - history = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --color=always + history = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn](%G?) %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --color=always hist = history --all hs = "!git history -n 10" df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"