From 8aee21f0c41b9c479e54e6860bf96d9c3a6892aa Mon Sep 17 00:00:00 2001 From: Thek4n Date: Mon, 27 Nov 2023 10:26:54 +0300 Subject: [PATCH] fix git aliases --- home/user/.config/git/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/user/.config/git/config b/home/user/.config/git/config index 2255b91..672c227 100644 --- a/home/user/.config/git/config +++ b/home/user/.config/git/config @@ -38,9 +38,9 @@ br = branch bm = branch --merged bn = branch --no-merged - 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" + hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn](%G?) %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --color=always + history = hist --all + hs = hist -n 10 df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f" type = cat-file -t dump = cat-file -p