Defines git helpers for fuzzily adding and diffing files
This commit is contained in:
parent
4c5ea5a5b3
commit
11c71758d7
1 changed files with 9 additions and 1 deletions
|
@ -47,7 +47,15 @@ function git-discard {
|
|||
}
|
||||
|
||||
|
||||
function git-list {
|
||||
function wgd {
|
||||
input=$1
|
||||
git diff "./**/*/${input}*"
|
||||
}
|
||||
|
||||
|
||||
function wga {
|
||||
input=$1
|
||||
git add "./**/*/${input}*"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue