docs git-comparison: add shorthands for some bookmark commands
Some checks are pending
binaries / Build binary artifacts (linux-aarch64-gnu, ubuntu-24.04, aarch64-unknown-linux-gnu) (push) Waiting to run
binaries / Build binary artifacts (linux-aarch64-musl, ubuntu-24.04, aarch64-unknown-linux-musl) (push) Waiting to run
binaries / Build binary artifacts (linux-x86_64-gnu, ubuntu-24.04, x86_64-unknown-linux-gnu) (push) Waiting to run
binaries / Build binary artifacts (linux-x86_64-musl, ubuntu-24.04, x86_64-unknown-linux-musl) (push) Waiting to run
binaries / Build binary artifacts (macos-aarch64, macos-14, aarch64-apple-darwin) (push) Waiting to run
binaries / Build binary artifacts (macos-x86_64, macos-13, x86_64-apple-darwin) (push) Waiting to run
binaries / Build binary artifacts (win-x86_64, windows-2022, x86_64-pc-windows-msvc) (push) Waiting to run
nix / flake check (macos-14) (push) Waiting to run
nix / flake check (ubuntu-latest) (push) Waiting to run
build / build (, macos-13) (push) Waiting to run
build / build (, macos-14) (push) Waiting to run
build / build (, ubuntu-latest) (push) Waiting to run
build / build (, windows-latest) (push) Waiting to run
build / build (--all-features, ubuntu-latest) (push) Waiting to run
build / Build jj-lib without Git support (push) Waiting to run
build / Check protos (push) Waiting to run
build / Check formatting (push) Waiting to run
build / Check that MkDocs can build the docs (push) Waiting to run
build / Check that MkDocs can build the docs with Poetry 1.8 (push) Waiting to run
build / cargo-deny (advisories) (push) Waiting to run
build / cargo-deny (bans licenses sources) (push) Waiting to run
build / Clippy check (push) Waiting to run
Codespell / Codespell (push) Waiting to run
website / prerelease-docs-build-deploy (ubuntu-latest) (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run

I don't want people to think they'll have to type out the long version,
at least for the most common ones.
This commit is contained in:
Ilya Grigoriev 2024-10-15 21:12:51 -07:00
parent 9291ae4aed
commit 166cdd0e5e

View file

@ -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>
@ -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>