fix git alias hs

This commit is contained in:
TheK4n 2023-11-21 20:41:05 +03:00
parent 76cea21e9e
commit 56371406a2

View File

@ -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