git alias a
This commit is contained in:
parent
0171dd5120
commit
df8722644b
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
[alias]
|
||||
a = "!git ls-files --exclude-standard -m --others -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"
|
||||
d = diff
|
||||
di = diff
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user