Skip to content

Commit

Permalink
docs git-comparison: add shorthands for some bookmark commands
Browse files Browse the repository at this point in the history
I don't want people to think they'll have to type out the long version,
at least for the most common ones.
  • Loading branch information
ilyagr committed Oct 16, 2024
1 parent 9291ae4 commit 166cdd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/git-comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ parent.
</tr>
<tr>
<td>List bookmarks/branches</td>
<td><code>jj bookmark list</code></td>
<td><code>jj bookmark list</code> or <code>jj b l</code> for short</td>
<td><code>git branch</code></td>
</tr>
<tr>
Expand All @@ -341,7 +341,8 @@ parent.
</tr>
<tr>
<td>Move a bookmark/branch forward</td>
<td><code>jj bookmark move &lt;name&gt; --to &lt;revision&gt;</code></td>
<td><code>jj bookmark move &lt;name&gt; --to &lt;revision&gt;</code>
or <code>jj b m &lt;name&gt; --to &lt;revision&gt;</code> for short</td>
<td><code>git branch -f &lt;name&gt; &lt;revision&gt;</code></td>
</tr>
<tr>
Expand Down

0 comments on commit 166cdd0

Please sign in to comment.