git diff
This commit is contained in:
parent
f1b9d3c56d
commit
e98eb3afcb
@ -57,13 +57,14 @@
|
|||||||
br = branch
|
br = branch
|
||||||
bm = branch --merged
|
bm = branch --merged
|
||||||
bn = branch --no-merged
|
bn = branch --no-merged
|
||||||
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
|
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 {}^ {}"
|
||||||
|
fdf = "!git log --pretty=format:'%h' --date=relative | fzf --bind ctrl-/:toggle-preview --preview-window right:60% --preview=\"git diff {}^ {} --color=always\""
|
||||||
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