add alias git
This commit is contained in:
parent
b6c0bed615
commit
90f902b715
@ -4,6 +4,7 @@
|
|||||||
[alias]
|
[alias]
|
||||||
a = "!git ls-files --exclude-standard --modified -t | fzf -1 -0 -m --bind load:last --preview 'git diff --color=always {2}' | cut -d' ' -f2 | xargs -r git add"
|
a = "!git ls-files --exclude-standard --modified -t | fzf -1 -0 -m --bind load:last --preview 'git diff --color=always {2}' | cut -d' ' -f2 | xargs -r git add"
|
||||||
u = "!git diff --name-only --cached | fzf -1 -0 -m --bind load:last --preview 'git diff --staged --color=always {1}' | xargs -r git restore --staged"
|
u = "!git diff --name-only --cached | fzf -1 -0 -m --bind load:last --preview 'git diff --staged --color=always {1}' | xargs -r git restore --staged"
|
||||||
|
msg = log -1 --pretty=%B
|
||||||
d = diff
|
d = diff
|
||||||
di = diff
|
di = diff
|
||||||
ds = diff --staged
|
ds = diff --staged
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user