Difference between revisions of "Git rev-list --all"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[git rev-list]] --all --branches</code>
 
* <code>[[git rev-list]] --all --branches</code>
 
* <code>[[git grep]] "your_string" $(git rev-list --all)</code>
 
* <code>[[git grep]] "your_string" $(git rev-list --all)</code>
 +
 +
 +
git rev-list --all | xargs git grep "your_string"
  
 
== See also ==
 
== See also ==

Revision as of 04:16, 20 March 2023


git rev-list --all | xargs git grep "your_string"

See also

Advertising: