Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_searching [2019/02/21 14:08] – [Searching with git grep] rpjdaygit_searching [2019/02/21 14:17] (current) – [Config options] rpjday
Line 20: Line 20:
 $ git log --author="Robert P. J. Day" --oneline $ git log --author="Robert P. J. Day" --oneline
 $ git log --author="Robert P. J. Day" --oneline | wc -l $ git log --author="Robert P. J. Day" --oneline | wc -l
 +104
 $ git log -i --author="robert p. j. day" $ git log -i --author="robert p. j. day"
 </code> </code>
Line 150: Line 151:
   [ [--[no-]exclude-standard] [--cached | --no-index | --untracked] | tree>...]   [ [--[no-]exclude-standard] [--cached | --no-index | --untracked] | tree>...]
   [--] [<pathspec>...]   [--] [<pathspec>...]
 +</code>
 +
 +==== Config options ====
 +
 +  * ''grep.lineNumber''
 +  * ''grep.patternType''
 +  * ''grep.extendedRegexp''
 +  * ''grep.threads''
 +  * ''grep.fullName''
 +  * ''grep.fallbackToNoIndex''
 +
 +See ''man git-config''.
 +
 +==== Examples ====
 +
 +<code>
 +$ git grep -il torvalds 
 +book/01-introduction/sections/history.asc
 +book/07-git-tools/sections/debugging.asc
 +$
 </code> </code>
  • git_searching.1550758080.txt.gz
  • Last modified: 2019/02/21 14:08
  • by rpjday