ref(git): alias

This commit is contained in:
TheK4n 2023-10-29 21:39:58 +03:00
parent abb484162a
commit f2f11166f5

View File

@ -39,7 +39,7 @@
bm = branch --merged bm = branch --merged
bn = branch --no-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 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 | head" hs = "!git 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" 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 type = cat-file -t
dump = cat-file -p dump = cat-file -p