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

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users 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 ==
 +
* {{git rev-list}}
 
* {{git grep}}
 
* {{git grep}}
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 04:17, 20 March 2023


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

See also[edit]

Advertising: