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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
<code>[[git rev-list]] --all</code>
+
* <code>[[git rev-list]] --all</code>
 +
* <code>[[git rev-list]] --all --branches</code>
 +
* <code>[[git grep]] "your_string" $(git rev-list --all)</code>
  
<code>[[git rev-list]] --all --branches</code>
 
  
 +
git rev-list --all | [[xargs]] git grep "your_string"
  
 
== See also ==
 
== See also ==

Latest revision as of 04:17, 20 March 2023


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

See also[edit]

Advertising: