diff --git a/home/user/.config/git/config b/home/user/.config/git/config index d8cccc6..6a1d07f 100644 --- a/home/user/.config/git/config +++ b/home/user/.config/git/config @@ -38,8 +38,9 @@ br = branch bm = branch --merged bn = branch --no-merged - hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --all --color=always - hs = "!git hist -n 10" + history = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %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" type = cat-file -t dump = cat-file -p