ok/jj
1
0
Fork 0
forked from mirrors/jj

docs: document equivalent to git checkout -- <paths>...

This commit is contained in:
Benjamin Saunders 2023-05-06 18:54:08 -07:00
parent 19a2f2194d
commit 64fbe8aea3

View file

@ -175,6 +175,11 @@ parent.
<td><code>git reset --hard</code> (same as abandoning a change since Git
has no concept of a "change")</td>
</tr>
<tr>
<td>Discard working copy changes in some files</td>
<td><code>jj restore &lt;paths&gt;...</code></td>
<td><code>git checkout -- &lt;paths&gt;...</code></td>
</tr>
<tr>
<td>Edit description (commit message) of the current change</td>
<td><code>jj describe</code></td>