refactor git config

This commit is contained in:
thek4n 2023-12-12 16:44:29 +03:00
parent 44d2c3f144
commit 345cbebdaf

View File

@ -43,7 +43,7 @@
hs = hist -n 10 hs = hist -n 10
last = log -1 HEAD last = log -1 HEAD
today = hist --since=midnight today = hist --since=midnight
df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f" df = "!git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf +m | awk '{print $1}' | xargs -I {} git diff {}^ {}"
type = cat-file -t type = cat-file -t
dump = cat-file -p dump = cat-file -p
unstage = "reset HEAD --" unstage = "reset HEAD --"