diff options
| author | Roger Shimizu <rosh@debian.org> | 2021-06-20 21:41:05 +0900 |
|---|---|---|
| committer | Mike Frysinger <vapier@google.com> | 2021-07-16 20:11:41 +0000 |
| commit | 0a1f533e2835c856473e3e4046341a4d2f66764b (patch) | |
| tree | 0902c039b76525f1c6785cec561df46265fdb787 /man/repo-smartsync.1 | |
| parent | 927d29a8afa26a3f1aec841f2150c65e3931ef9b (diff) | |
| download | git-repo-0a1f533e2835c856473e3e4046341a4d2f66764b.tar.gz | |
Add script 'release/update-manpages' to generate manpages
Debian package started to ship manpages for repo since 2.8 [1]
And it's about for one year. So I think it should be upstreamed.
The script depends on help2man, which is available in both debian [2]
and ubuntu [3].
[1] https://tracker.debian.org/news/1150858/accepted-repo-28-1-source-into-unstable
[2] https://tracker.debian.org/pkg/help2man
[3] https://launchpad.net/ubuntu/+source/help2man
Change-Id: Ide2b356d0944ebde34cc96c6d5a782655bd72288
Signed-off-by: Roger Shimizu <rosh@debian.org>
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/309782
Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'man/repo-smartsync.1')
| -rw-r--r-- | man/repo-smartsync.1 | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/man/repo-smartsync.1 b/man/repo-smartsync.1 new file mode 100644 index 00000000..ad98b479 --- /dev/null +++ b/man/repo-smartsync.1 | |||
| @@ -0,0 +1,117 @@ | |||
| 1 | .\" DO NOT MODIFY THIS FILE! It was generated by help2man. | ||
| 2 | .TH REPO "1" "July 2021" "repo smartsync" "Repo Manual" | ||
| 3 | .SH NAME | ||
| 4 | repo \- repo smartsync - manual page for repo smartsync | ||
| 5 | .SH SYNOPSIS | ||
| 6 | .B repo | ||
| 7 | \fI\,smartsync \/\fR[\fI\,<project>\/\fR...] | ||
| 8 | .SH DESCRIPTION | ||
| 9 | Summary | ||
| 10 | .PP | ||
| 11 | Update working tree to the latest known good revision | ||
| 12 | .SH OPTIONS | ||
| 13 | .TP | ||
| 14 | \fB\-h\fR, \fB\-\-help\fR | ||
| 15 | show this help message and exit | ||
| 16 | .TP | ||
| 17 | \fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR | ||
| 18 | number of jobs to run in parallel (default: 1) | ||
| 19 | .TP | ||
| 20 | \fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR | ||
| 21 | number of network jobs to run in parallel (defaults to | ||
| 22 | \fB\-\-jobs\fR) | ||
| 23 | .TP | ||
| 24 | \fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR | ||
| 25 | number of local checkout jobs to run in parallel | ||
| 26 | (defaults to \fB\-\-jobs\fR) | ||
| 27 | .TP | ||
| 28 | \fB\-f\fR, \fB\-\-force\-broken\fR | ||
| 29 | obsolete option (to be deleted in the future) | ||
| 30 | .TP | ||
| 31 | \fB\-\-fail\-fast\fR | ||
| 32 | stop syncing after first error is hit | ||
| 33 | .TP | ||
| 34 | \fB\-\-force\-sync\fR | ||
| 35 | overwrite an existing git directory if it needs to | ||
| 36 | point to a different object directory. WARNING: this | ||
| 37 | may cause loss of data | ||
| 38 | .TP | ||
| 39 | \fB\-\-force\-remove\-dirty\fR | ||
| 40 | force remove projects with uncommitted modifications | ||
| 41 | if projects no longer exist in the manifest. WARNING: | ||
| 42 | this may cause loss of data | ||
| 43 | .TP | ||
| 44 | \fB\-l\fR, \fB\-\-local\-only\fR | ||
| 45 | only update working tree, don't fetch | ||
| 46 | .TP | ||
| 47 | \fB\-\-no\-manifest\-update\fR, \fB\-\-nmu\fR | ||
| 48 | use the existing manifest checkout as\-is. (do not | ||
| 49 | update to the latest revision) | ||
| 50 | .TP | ||
| 51 | \fB\-n\fR, \fB\-\-network\-only\fR | ||
| 52 | fetch only, don't update working tree | ||
| 53 | .TP | ||
| 54 | \fB\-d\fR, \fB\-\-detach\fR | ||
| 55 | detach projects back to manifest revision | ||
| 56 | .TP | ||
| 57 | \fB\-c\fR, \fB\-\-current\-branch\fR | ||
| 58 | fetch only current branch from server | ||
| 59 | .TP | ||
| 60 | \fB\-\-no\-current\-branch\fR | ||
| 61 | fetch all branches from server | ||
| 62 | .TP | ||
| 63 | \fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml | ||
| 64 | temporary manifest to use for this sync | ||
| 65 | .TP | ||
| 66 | \fB\-\-clone\-bundle\fR | ||
| 67 | enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
| 68 | .TP | ||
| 69 | \fB\-\-no\-clone\-bundle\fR | ||
| 70 | disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS | ||
| 71 | .TP | ||
| 72 | \fB\-u\fR MANIFEST_SERVER_USERNAME, \fB\-\-manifest\-server\-username\fR=\fI\,MANIFEST_SERVER_USERNAME\/\fR | ||
| 73 | username to authenticate with the manifest server | ||
| 74 | .TP | ||
| 75 | \fB\-p\fR MANIFEST_SERVER_PASSWORD, \fB\-\-manifest\-server\-password\fR=\fI\,MANIFEST_SERVER_PASSWORD\/\fR | ||
| 76 | password to authenticate with the manifest server | ||
| 77 | .TP | ||
| 78 | \fB\-\-fetch\-submodules\fR | ||
| 79 | fetch submodules from server | ||
| 80 | .TP | ||
| 81 | \fB\-\-use\-superproject\fR | ||
| 82 | use the manifest superproject to sync projects | ||
| 83 | .TP | ||
| 84 | \fB\-\-no\-use\-superproject\fR | ||
| 85 | disable use of manifest superprojects | ||
| 86 | .TP | ||
| 87 | \fB\-\-tags\fR | ||
| 88 | fetch tags | ||
| 89 | .TP | ||
| 90 | \fB\-\-no\-tags\fR | ||
| 91 | don't fetch tags | ||
| 92 | .TP | ||
| 93 | \fB\-\-optimized\-fetch\fR | ||
| 94 | only fetch projects fixed to sha1 if revision does not | ||
| 95 | exist locally | ||
| 96 | .TP | ||
| 97 | \fB\-\-retry\-fetches\fR=\fI\,RETRY_FETCHES\/\fR | ||
| 98 | number of times to retry fetches on transient errors | ||
| 99 | .TP | ||
| 100 | \fB\-\-prune\fR | ||
| 101 | delete refs that no longer exist on the remote | ||
| 102 | .SS Logging options: | ||
| 103 | .TP | ||
| 104 | \fB\-v\fR, \fB\-\-verbose\fR | ||
| 105 | show all output | ||
| 106 | .TP | ||
| 107 | \fB\-q\fR, \fB\-\-quiet\fR | ||
| 108 | only show errors | ||
| 109 | .SS repo Version options: | ||
| 110 | .TP | ||
| 111 | \fB\-\-no\-repo\-verify\fR | ||
| 112 | do not verify repo source code | ||
| 113 | .PP | ||
| 114 | Run `repo help smartsync` to view the detailed manual. | ||
| 115 | .SH DETAILS | ||
| 116 | .PP | ||
| 117 | The 'repo smartsync' command is a shortcut for sync \fB\-s\fR. | ||
