docs: add cherry-picking to Git-comparison table

This commit is contained in:
Martin von Zweigbergk 2022-03-11 13:07:46 -08:00 committed by Martin von Zweigbergk
parent f86c3b488b
commit 05734138e8

View file

@ -203,6 +203,12 @@ parent.
<td><code>echo resolved > filename; git add filename; git
rebase/merge/cherry-pick --continue</code></td>
</tr>
<tr>
<td>Create a copy of a commit on top of another commit</td>
<td><code>jj duplicate &lt;source&gt;; jj rebase -r &lt;duplicate commit&gt; -d &lt;destination&gt;</code>
(there's no single command for it yet)</td>
<td><code>git co &lt;destination&gt;; git cherry-pick &lt;source&gt;</code></td>
</tr>
<tr>
<td>List branches</td>
<td><code>jj branches</code></td>