git comparison: include a 'git grep' equivalent

This commit is contained in:
Gabriel Scherer 2023-12-20 23:50:17 +01:00
parent fad511a6e5
commit dafc900cca

View file

@ -188,6 +188,11 @@ parent.
<td><code>jj log -r ::@</code></td>
<td><code>git log</code></td>
</tr>
<tr>
<td>Search among files versioned in the repository</td>
<td><code>grep foo $(jj files)</code></td>
<td><code>git grep foo</code></td>
</tr>
<tr>
<td>Abandon the current change and start a new change</td>
<td><code>jj abandon</code></td>