Changing ls-files to grep all files
and not just modified
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
# 'diff grep'
|
# 'diff grep'
|
||||||
dg = "!sh -c 'git ls-files -m | grep $1 | xargs git diff' -"
|
dg = "!sh -c 'git ls-files -m | grep $1 | xargs git diff' -"
|
||||||
# diff grep changes between two commits
|
# diff grep changes between two commits
|
||||||
dgc = "!sh -c 'git ls-files -m | grep $1 | xargs git diff $2 $3 -- ' -"
|
dgc = "!sh -c 'git ls-files | grep $1 | xargs git diff $2 $3 -- ' -"
|
||||||
# 'checkout grep'
|
# 'checkout grep'
|
||||||
cg = "!sh -c 'git ls-files -m | grep $1 | xargs git checkout ' -"
|
cg = "!sh -c 'git ls-files -m | grep $1 | xargs git checkout ' -"
|
||||||
# add grep
|
# add grep
|
||||||
|
|||||||
Reference in New Issue
Block a user