git aliases
This commit is contained in:
parent
b2e6b78f6e
commit
57887a7c83
@ -63,7 +63,7 @@
|
|||||||
hsa = hist -n 10 --all
|
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 --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
|
type = cat-file -t
|
||||||
dump = cat-file -p
|
dump = cat-file -p
|
||||||
unstage = "reset HEAD --"
|
unstage = "reset HEAD --"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user