git alias hsa

This commit is contained in:
thek4n 2024-01-15 15:10:53 +03:00
parent 9d2619fbaf
commit 9abf6cceef

View File

@ -61,6 +61,7 @@
hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn](%G?) %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --color=always 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 history = hist --all
hs = hist -n 10 hs = hist -n 10
hsa = hist -n 10 --all
last = log -1 HEAD last = log -1 HEAD
today = hist --since=midnight today = hist --since=midnight
df = "!git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf +m | awk '{print $1}' | xargs -I {} git diff {}^ {}" df = "!git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf +m | awk '{print $1}' | xargs -I {} git diff {}^ {}"