Added gdc - grep diff file changes between commits
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
|
|
||||||
# '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
|
||||||
|
dgc = "!sh -c 'git ls-files -m | 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