diff options
| author | Andrew Chant <achant@google.com> | 2026-07-17 15:09:06 -0700 |
|---|---|---|
| committer | gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2026-07-21 13:42:38 -0700 |
| commit | 0b82311632d14d3f49675fb6a017c20f7a7dee37 (patch) | |
| tree | 265e41f241585ae11afd6f4b12dfa0e9a60ef726 /man | |
| parent | 06c4f9e1cca33a51b5396de2d1d975648e9f2ce4 (diff) | |
| download | git-repo-0b82311632d14d3f49675fb6a017c20f7a7dee37.tar.gz | |
sync: allow syncing groups with repo sync -g group
Similar to how repo init -g can restrict repo syncs to
a subset of the manifest globally, allow "repo sync -g" to only sync a
subset of projects from the manifest when running that specific
sync command.
Change-Id: I4929aad109de05c73a7db42bb27fd8d47eea32fc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/609481
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Andrew Chant <achant@google.com>
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Andrew Chant <achant@google.com>
Diffstat (limited to 'man')
| -rw-r--r-- | man/repo-smartsync.1 | 3 | ||||
| -rw-r--r-- | man/repo-sync.1 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/man/repo-smartsync.1 b/man/repo-smartsync.1 index e3fddbc72..f4566dc01 100644 --- a/man/repo-smartsync.1 +++ b/man/repo-smartsync.1 | |||
| @@ -68,6 +68,9 @@ fetch all branches from server | |||
| 68 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | 68 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml |
| 69 | temporary manifest to use for this sync | 69 | temporary manifest to use for this sync |
| 70 | .TP | 70 | .TP |
| 71 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR | ||
| 72 | sync projects matching the specific groups. Not persistent unlike when used on init | ||
| 73 | .TP | ||
| 71 | \fB\-\-clone\-bundle\fR | 74 | \fB\-\-clone\-bundle\fR |
| 72 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | 75 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS |
| 73 | .TP | 76 | .TP |
diff --git a/man/repo-sync.1 b/man/repo-sync.1 index 66cd37a9e..754c02927 100644 --- a/man/repo-sync.1 +++ b/man/repo-sync.1 | |||
| @@ -68,6 +68,9 @@ fetch all branches from server | |||
| 68 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | 68 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml |
| 69 | temporary manifest to use for this sync | 69 | temporary manifest to use for this sync |
| 70 | .TP | 70 | .TP |
| 71 | \fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR | ||
| 72 | sync projects matching the specific groups. Not persistent unlike when used on init | ||
| 73 | .TP | ||
| 71 | \fB\-\-clone\-bundle\fR | 74 | \fB\-\-clone\-bundle\fR |
| 72 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | 75 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS |
| 73 | .TP | 76 | .TP |
