mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-16 00:56:23 +00:00
cli: reference config settings for 'jj log -T' and 'jj git push -c'
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
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
This commit is contained in:
parent
7d34194502
commit
d77ca1526a
3 changed files with 16 additions and 2 deletions
|
@ -114,6 +114,9 @@ pub struct GitPushArgs {
|
||||||
revisions: Vec<RevisionArg>,
|
revisions: Vec<RevisionArg>,
|
||||||
/// Push this commit by creating a bookmark based on its change ID (can be
|
/// Push this commit by creating a bookmark based on its change ID (can be
|
||||||
/// repeated)
|
/// repeated)
|
||||||
|
///
|
||||||
|
/// Use the `git.push-bookmark-prefix` setting to change the prefix for
|
||||||
|
/// generated names.
|
||||||
#[arg(long, short)]
|
#[arg(long, short)]
|
||||||
change: Vec<RevisionArg>,
|
change: Vec<RevisionArg>,
|
||||||
/// Only display what will change on the remote
|
/// Only display what will change on the remote
|
||||||
|
|
|
@ -77,7 +77,12 @@ pub(crate) struct LogArgs {
|
||||||
no_graph: bool,
|
no_graph: bool,
|
||||||
/// Render each revision using the given template
|
/// Render each revision using the given template
|
||||||
///
|
///
|
||||||
/// For the syntax, see https://martinvonz.github.io/jj/latest/templates/
|
/// Run `jj log -T` to list the built-in templates.
|
||||||
|
///
|
||||||
|
/// You can also specify arbitrary template expressions. For the syntax,
|
||||||
|
/// see https://martinvonz.github.io/jj/latest/templates/.
|
||||||
|
///
|
||||||
|
/// If not specified, this defaults to the `templates.log` setting.
|
||||||
#[arg(long, short = 'T')]
|
#[arg(long, short = 'T')]
|
||||||
template: Option<String>,
|
template: Option<String>,
|
||||||
/// Show patch
|
/// Show patch
|
||||||
|
|
|
@ -1133,6 +1133,8 @@ Before the command actually moves, creates, or deletes a remote bookmark, it mak
|
||||||
* `--allow-private` — Allow pushing commits that are private
|
* `--allow-private` — Allow pushing commits that are private
|
||||||
* `-r`, `--revisions <REVISIONS>` — Push bookmarks pointing to these commits (can be repeated)
|
* `-r`, `--revisions <REVISIONS>` — Push bookmarks pointing to these commits (can be repeated)
|
||||||
* `-c`, `--change <CHANGE>` — Push this commit by creating a bookmark based on its change ID (can be repeated)
|
* `-c`, `--change <CHANGE>` — Push this commit by creating a bookmark based on its change ID (can be repeated)
|
||||||
|
|
||||||
|
Use the `git.push-bookmark-prefix` setting to change the prefix for generated names.
|
||||||
* `--dry-run` — Only display what will change on the remote
|
* `--dry-run` — Only display what will change on the remote
|
||||||
|
|
||||||
|
|
||||||
|
@ -1312,7 +1314,11 @@ Spans of revisions that are not included in the graph per `--revisions` are rend
|
||||||
* `--no-graph` — Don't show the graph, show a flat list of revisions
|
* `--no-graph` — Don't show the graph, show a flat list of revisions
|
||||||
* `-T`, `--template <TEMPLATE>` — Render each revision using the given template
|
* `-T`, `--template <TEMPLATE>` — Render each revision using the given template
|
||||||
|
|
||||||
For the syntax, see https://martinvonz.github.io/jj/latest/templates/
|
Run `jj log -T` to list the built-in templates.
|
||||||
|
|
||||||
|
You can also specify arbitrary template expressions. For the syntax, see https://martinvonz.github.io/jj/latest/templates/.
|
||||||
|
|
||||||
|
If not specified, this defaults to the `templates.log` setting.
|
||||||
* `-p`, `--patch` — Show patch
|
* `-p`, `--patch` — Show patch
|
||||||
* `-s`, `--summary` — For each path, show only whether it was modified, added, or deleted
|
* `-s`, `--summary` — For each path, show only whether it was modified, added, or deleted
|
||||||
* `--stat` — Show a histogram of the changes
|
* `--stat` — Show a histogram of the changes
|
||||||
|
|
Loading…
Reference in a new issue