forked from mirrors/jj
docs: document equivalent to git checkout -- <paths>...
This commit is contained in:
parent
19a2f2194d
commit
64fbe8aea3
1 changed files with 5 additions and 0 deletions
|
@ -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 <paths>...</code></td>
|
||||
<td><code>git checkout -- <paths>...</code></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edit description (commit message) of the current change</td>
|
||||
<td><code>jj describe</code></td>
|
||||
|
|
Loading…
Reference in a new issue