···4747 branch: Vec<StringPattern>,
4848 /// The remote to fetch from (only named remotes are supported, can be
4949 /// repeated)
5050+ ///
5151+ /// This defaults to the `git.fetch` setting. If that is not configured, and
5252+ /// if there are multiple remotes, the remote named "origin" will be used.
5053 #[arg(
5154 long = "remote",
5255 value_name = "REMOTE",
+5
cli/src/commands/git/push.rs
···7878#[command(group(ArgGroup::new("what").args(&["all", "deleted", "tracked"]).conflicts_with("specific")))]
7979pub struct GitPushArgs {
8080 /// The remote to push to (only named remotes are supported)
8181+ ///
8282+ /// This defaults to the `git.push` setting. If that is not configured, and
8383+ /// if there are multiple remotes, the remote named "origin" will be used.
8484+ /// Unlike in Git, the default remote is not derived from the tracked remote
8585+ /// bookmarks.
8186 #[arg(long, add = ArgValueCandidates::new(complete::git_remotes))]
8287 remote: Option<String>,
8388 /// Push only this bookmark, or bookmarks matching a pattern (can be
+4
cli/tests/cli-reference@.md.snap
···1099109911001100 Default value: `glob:*`
11011101* `--remote <REMOTE>` — The remote to fetch from (only named remotes are supported, can be repeated)
11021102+11031103+ This defaults to the `git.fetch` setting. If that is not configured, and if there are multiple remotes, the remote named "origin" will be used.
11021104* `--all-remotes` — Fetch from all remotes
1103110511041106···11591161###### **Options:**
1160116211611163* `--remote <REMOTE>` — The remote to push to (only named remotes are supported)
11641164+11651165+ This defaults to the `git.push` setting. If that is not configured, and if there are multiple remotes, the remote named "origin" will be used. Unlike in Git, the default remote is not derived from the tracked remote bookmarks.
11621166* `-b`, `--bookmark <BOOKMARK>` — Push only this bookmark, or bookmarks matching a pattern (can be repeated)
1163116711641168 By default, the specified name matches exactly. Use `glob:` prefix to select bookmarks by wildcard pattern. For details, see https://martinvonz.github.io/jj/latest/revsets#string-patterns.