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)
26
27 --jobs-checkout=JOBS
28 number of local checkout jobs to run in parallel (defaults to
29 --jobs)
30
31 -f, --force-broken
32 obsolete option (to be deleted in the future)
33
34 --fail-fast
35 stop syncing after first error is hit
36
37 --force-sync
38 overwrite an existing git directory if it needs to point to a
39 different object directory. WARNING: this may cause loss of data
40
41 --force-remove-dirty
42 force remove projects with uncommitted modifications if projects
43 no longer exist in the manifest. WARNING: this may cause loss of
44 data
45
46 -l, --local-only
47 only update working tree, don't fetch
48
49 --no-manifest-update, --nmu
50 use the existing manifest checkout as-is. (do not update to the
51 latest revision)
52
53 -n, --network-only
54 fetch only, don't update working tree
55
56 -d, --detach
57 detach projects back to manifest revision
58
59 -c, --current-branch
60 fetch only current branch from server
61
62 --no-current-branch
63 fetch all branches from server
64
65 -m NAME.xml, --manifest-name=NAME.xml
66 temporary manifest to use for this sync
67
68 --clone-bundle
69 enable use of /clone.bundle on HTTP/HTTPS
70
71 --no-clone-bundle
72 disable use of /clone.bundle on HTTP/HTTPS
73
74 -u MANIFEST_SERVER_USERNAME, --manifest-server-username=MANI‐
75 FEST_SERVER_USERNAME
76 username to authenticate with the manifest server
77
78 -p MANIFEST_SERVER_PASSWORD, --manifest-server-password=MANI‐
79 FEST_SERVER_PASSWORD
80 password to authenticate with the manifest server
81
82 --fetch-submodules
83 fetch submodules from server
84
85 --use-superproject
86 use the manifest superproject to sync projects; implies -c
87
88 --no-use-superproject
89 disable use of manifest superprojects
90
91 --tags fetch tags
92
93 --no-tags
94 don't fetch tags (default)
95
96 --optimized-fetch
97 only fetch projects fixed to sha1 if revision does not exist lo‐
98 cally
99
100 --retry-fetches=RETRY_FETCHES
101 number of times to retry fetches on transient errors
102
103 --prune
104 delete refs that no longer exist on the remote (default)
105
106 --no-prune
107 do not delete refs that no longer exist on the remote
108
109 Logging options:
110 -v, --verbose
111 show all output
112
113 -q, --quiet
114 only show errors
115
116 repo Version options:
117 --no-repo-verify
118 do not verify repo source code
119
120 Run `repo help smartsync` to view the detailed manual.
121
123 The 'repo smartsync' command is a shortcut for sync -s.
124
125
126
127repo smartsync November 2021 REPO(1)