mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-19 19:08:08 +00:00
docs: add example glob to jj help git fetch
I tried to clarify the text a bit as well.
This commit is contained in:
parent
e4231f2ce3
commit
d3a51cebb7
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,8 @@ pub struct GitFetchArgs {
|
|||
/// Fetch only some of the branches
|
||||
///
|
||||
/// By default, the specified name matches exactly. Use `glob:` prefix to
|
||||
/// expand `*` as a glob. The other wildcard characters aren't supported.
|
||||
/// expand `*` as a glob, e.g. `--branch 'glob:push-*'`. Other wildcard
|
||||
/// characters such as `?` are *not* supported.
|
||||
#[arg(
|
||||
long, short,
|
||||
alias = "bookmark",
|
||||
|
|
|
@ -1096,7 +1096,7 @@ If a working-copy commit gets abandoned, it will be given a new, empty commit. T
|
|||
|
||||
* `-b`, `--branch <BRANCH>` — Fetch only some of the branches
|
||||
|
||||
By default, the specified name matches exactly. Use `glob:` prefix to expand `*` as a glob. The other wildcard characters aren't supported.
|
||||
By default, the specified name matches exactly. Use `glob:` prefix to expand `*` as a glob, e.g. `--branch 'glob:push-*'`. Other wildcard characters such as `?` are *not* supported.
|
||||
|
||||
Default value: `glob:*`
|
||||
* `--remote <REMOTE>` — The remote to fetch from (only named remotes are supported, can be repeated)
|
||||
|
|
Loading…
Reference in a new issue