1REPO(1)                           Repo Manual                          REPO(1)
2
3
4

NAME

6       repo - repo smartsync - manual page for repo smartsync
7

SYNOPSIS

9       repo smartsync [<project>...]
10

DESCRIPTION

12       Summary
13
14       Update working tree to the latest known good revision
15

OPTIONS

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       --auto-gc
111              run garbage collection on all synced projects
112
113       --no-auto-gc
114              do not run garbage collection on any projects (default)
115
116   Logging options:
117       -v, --verbose
118              show all output
119
120       -q, --quiet
121              only show errors
122
123   Multi-manifest options:
124       --outer-manifest
125              operate starting at the outermost manifest
126
127       --no-outer-manifest
128              do not operate on outer manifests
129
130       --this-manifest-only
131              only operate on this (sub)manifest
132
133       --no-this-manifest-only, --all-manifests
134              operate on this manifest and its submanifests
135
136   repo Version options:
137       --no-repo-verify
138              do not verify repo source code
139
140       Run `repo help smartsync` to view the detailed manual.
141

DETAILS

143       The 'repo smartsync' command is a shortcut for sync -s.
144
145
146
147repo smartsync                   November 2022                         REPO(1)
Impressum