summaryrefslogtreecommitdiffstats
path: root/man/repo-smartsync.1
diff options
context:
space:
mode:
authorRoger Shimizu <rosh@debian.org>2021-06-20 21:41:05 +0900
committerMike Frysinger <vapier@google.com>2021-07-16 20:11:41 +0000
commit0a1f533e2835c856473e3e4046341a4d2f66764b (patch)
tree0902c039b76525f1c6785cec561df46265fdb787 /man/repo-smartsync.1
parent927d29a8afa26a3f1aec841f2150c65e3931ef9b (diff)
downloadgit-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.1117
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
4repo \- repo smartsync - manual page for repo smartsync
5.SH SYNOPSIS
6.B repo
7\fI\,smartsync \/\fR[\fI\,<project>\/\fR...]
8.SH DESCRIPTION
9Summary
10.PP
11Update working tree to the latest known good revision
12.SH OPTIONS
13.TP
14\fB\-h\fR, \fB\-\-help\fR
15show this help message and exit
16.TP
17\fB\-j\fR JOBS, \fB\-\-jobs\fR=\fI\,JOBS\/\fR
18number of jobs to run in parallel (default: 1)
19.TP
20\fB\-\-jobs\-network\fR=\fI\,JOBS\/\fR
21number of network jobs to run in parallel (defaults to
22\fB\-\-jobs\fR)
23.TP
24\fB\-\-jobs\-checkout\fR=\fI\,JOBS\/\fR
25number of local checkout jobs to run in parallel
26(defaults to \fB\-\-jobs\fR)
27.TP
28\fB\-f\fR, \fB\-\-force\-broken\fR
29obsolete option (to be deleted in the future)
30.TP
31\fB\-\-fail\-fast\fR
32stop syncing after first error is hit
33.TP
34\fB\-\-force\-sync\fR
35overwrite an existing git directory if it needs to
36point to a different object directory. WARNING: this
37may cause loss of data
38.TP
39\fB\-\-force\-remove\-dirty\fR
40force remove projects with uncommitted modifications
41if projects no longer exist in the manifest. WARNING:
42this may cause loss of data
43.TP
44\fB\-l\fR, \fB\-\-local\-only\fR
45only update working tree, don't fetch
46.TP
47\fB\-\-no\-manifest\-update\fR, \fB\-\-nmu\fR
48use the existing manifest checkout as\-is. (do not
49update to the latest revision)
50.TP
51\fB\-n\fR, \fB\-\-network\-only\fR
52fetch only, don't update working tree
53.TP
54\fB\-d\fR, \fB\-\-detach\fR
55detach projects back to manifest revision
56.TP
57\fB\-c\fR, \fB\-\-current\-branch\fR
58fetch only current branch from server
59.TP
60\fB\-\-no\-current\-branch\fR
61fetch all branches from server
62.TP
63\fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml
64temporary manifest to use for this sync
65.TP
66\fB\-\-clone\-bundle\fR
67enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS
68.TP
69\fB\-\-no\-clone\-bundle\fR
70disable 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
73username 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
76password to authenticate with the manifest server
77.TP
78\fB\-\-fetch\-submodules\fR
79fetch submodules from server
80.TP
81\fB\-\-use\-superproject\fR
82use the manifest superproject to sync projects
83.TP
84\fB\-\-no\-use\-superproject\fR
85disable use of manifest superprojects
86.TP
87\fB\-\-tags\fR
88fetch tags
89.TP
90\fB\-\-no\-tags\fR
91don't fetch tags
92.TP
93\fB\-\-optimized\-fetch\fR
94only fetch projects fixed to sha1 if revision does not
95exist locally
96.TP
97\fB\-\-retry\-fetches\fR=\fI\,RETRY_FETCHES\/\fR
98number of times to retry fetches on transient errors
99.TP
100\fB\-\-prune\fR
101delete refs that no longer exist on the remote
102.SS Logging options:
103.TP
104\fB\-v\fR, \fB\-\-verbose\fR
105show all output
106.TP
107\fB\-q\fR, \fB\-\-quiet\fR
108only show errors
109.SS repo Version options:
110.TP
111\fB\-\-no\-repo\-verify\fR
112do not verify repo source code
113.PP
114Run `repo help smartsync` to view the detailed manual.
115.SH DETAILS
116.PP
117The 'repo smartsync' command is a shortcut for sync \fB\-s\fR.