1REPO(1) Repo Manual REPO(1)
2
3
4
6 repo - repo smartsync - manual page for repo smartsync
7
9 repo smartsync [<project>...]
10
12 Summary
13
14 Update working tree to the latest known good revision
15
17 -h, --help
18 show this help message and exit
19
20 -j JOBS, --jobs=JOBS
21 number of jobs to run in parallel (default: based on number of
22 CPU cores)
23
24 --jobs-network=JOBS
25 number of network jobs to run in parallel (defaults to --jobs or
26 1)
27
28 --jobs-checkout=JOBS
29 number of local checkout jobs to run in parallel (defaults to
30 --jobs or 8)
31
32 -f, --force-broken
33 obsolete option (to be deleted in the future)
34
35 --fail-fast
36 stop syncing after first error is hit
37
38 --force-sync
39 overwrite an existing git directory if it needs to point to a
40 different object directory. WARNING: this may cause loss of data
41
42 --force-remove-dirty
43 force remove projects with uncommitted modifications if projects
44 no longer exist in the manifest. WARNING: this may cause loss of
45 data
46
47 -l, --local-only
48 only update working tree, don't fetch
49
50 --no-manifest-update, --nmu
51 use the existing manifest checkout as-is. (do not update to the
52 latest revision)
53
54 -n, --network-only
55 fetch only, don't update working tree
56
57 -d, --detach
58 detach projects back to manifest revision
59
60 -c, --current-branch
61 fetch only current branch from server
62
63 --no-current-branch
64 fetch all branches from server
65
66 -m NAME.xml, --manifest-name=NAME.xml
67 temporary manifest to use for this sync
68
69 --clone-bundle
70 enable use of /clone.bundle on HTTP/HTTPS
71
72 --no-clone-bundle
73 disable use of /clone.bundle on HTTP/HTTPS
74
75 -u MANIFEST_SERVER_USERNAME, --manifest-server-username=MANI‐
76 FEST_SERVER_USERNAME
77 username to authenticate with the manifest server
78
79 -p MANIFEST_SERVER_PASSWORD, --manifest-server-password=MANI‐
80 FEST_SERVER_PASSWORD
81 password to authenticate with the manifest server
82
83 --fetch-submodules
84 fetch submodules from server
85
86 --use-superproject
87 use the manifest superproject to sync projects; implies -c
88
89 --no-use-superproject
90 disable use of manifest superprojects
91
92 --tags fetch tags
93
94 --no-tags
95 don't fetch tags (default)
96
97 --optimized-fetch
98 only fetch projects fixed to sha1 if revision does not exist lo‐
99 cally
100
101 --retry-fetches=RETRY_FETCHES
102 number of times to retry fetches on transient errors
103
104 --prune
105 delete refs that no longer exist on the remote (default)
106
107 --no-prune
108 do not delete refs that no longer exist on the remote
109
110 Logging options:
111 -v, --verbose
112 show all output
113
114 -q, --quiet
115 only show errors
116
117 Multi-manifest options:
118 --outer-manifest
119 operate starting at the outermost manifest
120
121 --no-outer-manifest
122 do not operate on outer manifests
123
124 --this-manifest-only
125 only operate on this (sub)manifest
126
127 --no-this-manifest-only, --all-manifests
128 operate on this manifest and its submanifests
129
130 repo Version options:
131 --no-repo-verify
132 do not verify repo source code
133
134 Run `repo help smartsync` to view the detailed manual.
135
137 The 'repo smartsync' command is a shortcut for sync -s.
138
139
140
141repo smartsync August 2022 REPO(1)