Terminology

-e definition: 'The next parameter is the pattern.'

git grep —all-match definition: 'Return matches that match all given requirements (instead of any).'

git grep -c definition: 'Show count of matches rather than matches.'

git grep -F definition: 'Don’t interpret pattern as a regex.'
ety: ''
variants: ''

git grep -i definition: 'Ignore case differences between the patterns and the files.'
ety: ''
variants: ''

git grep -I definition: 'Ignore pattern in binary files.'

git grep —name-only definition: 'Return only names of matching files.'

git grep -O vi definition: 'Open matching files in vi.'
ety: ''
variants: ''

git grep -w definition: 'Match the pattern only at word boundary.'
ety: ''
variants: ''

git grep -W definition: 'Function context: Show the whole function in which the match was found.'
ety: ''
variants: ''

Facts, Thoughts and Opinions

Images

[[/div]]

  •   Writings

  Sources & Bookmarks

Name/Link Date
git grep 2013-12