fix git aliases
This commit is contained in:
parent
2e429ca9b4
commit
8aee21f0c4
@ -38,9 +38,9 @@
|
||||
br = branch
|
||||
bm = branch --merged
|
||||
bn = branch --no-merged
|
||||
history = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn](%G?) %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --color=always
|
||||
hist = history --all
|
||||
hs = "!git history -n 10"
|
||||
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
|
||||
hs = hist -n 10
|
||||
df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"
|
||||
type = cat-file -t
|
||||
dump = cat-file -p
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user