git aliases

This commit is contained in:
thek4n 2024-04-04 09:35:43 +03:00
parent b2e6b78f6e
commit 57887a7c83

View File

@ -63,7 +63,7 @@
hsa = hist -n 10 --all
last = log -1 HEAD
today = hist --since=midnight
df = "!git log --pretty=format:'%h %cd [%cn] %s%d' --date=relative | fzf --preview='git diff --color=always {1}^ {1}'"
df = "!git log --pretty=format:'%h %cd [%cn] %s%d' --date=relative | fzf --preview='git diff --color=always {1}^ {1}' | awk '{print $1}' | xargs -I {} git diff {}^ {}"
type = cat-file -t
dump = cat-file -p
unstage = "reset HEAD --"