docs: add git ls-files to command comparison table

This came up in #4323.
This commit is contained in:
Martin von Zweigbergk 2024-08-22 13:46:18 -07:00 committed by Martin von Zweigbergk
parent f1be5c59f3
commit b05593fdf5

View file

@ -194,6 +194,11 @@ parent.
<td><code>jj log</code></td>
<td>(TODO)</td>
</tr>
<tr>
<td>List versioned files in the working copy</td>
<td><code>jj file list</code></td>
<td><code>git ls-files --cached</code></td>
</tr>
<tr>
<td>Search among files versioned in the repository</td>
<td><code>grep foo $(jj file list)</code>, or <code>rg --no-require-git foo</code></td>