table of contents
other versions
- buster-backports 2.15.4-1~bpo10+1
- testing 2.15.4-2
- unstable 2.15.4-6
REPO(1) | Repo Manual | REPO(1) |
NAME¶
repo - repo smartsync - manual page for repo smartsyncSYNOPSIS¶
repo smartsync [<project>...]DESCRIPTION¶
SummaryUpdate working tree to the latest known good revision
OPTIONS¶
- -h, --help
- show this help message and exit
- -f, --force-broken
- obsolete option (to be deleted in the future)
- --fail-fast
- stop syncing after first error is hit
- --force-sync
- overwrite an existing git directory if it needs to point to a different object directory. WARNING: this may cause loss of data
- --force-remove-dirty
- force remove projects with uncommitted modifications if projects no longer exist in the manifest. WARNING: this may cause loss of data
- -l, --local-only
- only update working tree, don't fetch
- --no-manifest-update, --nmu
- use the existing manifest checkout as-is. (do not update to the latest revision)
- -n, --network-only
- fetch only, don't update working tree
- -d, --detach
- detach projects back to manifest revision
- -c, --current-branch
- fetch only current branch from server
- -v, --verbose
- show all sync output
- -q, --quiet
- only show errors
- -j JOBS, --jobs=JOBS
- projects to fetch simultaneously (default 4)
- -m NAME.xml, --manifest-name=NAME.xml
- temporary manifest to use for this sync
- --clone-bundle
- enable use of /clone.bundle on HTTP/HTTPS
- --no-clone-bundle
- disable use of /clone.bundle on HTTP/HTTPS
- -u MANIFEST_SERVER_USERNAME, --manifest-server-username=MANIFEST_SERVER_USERNAME
- username to authenticate with the manifest server
- -p MANIFEST_SERVER_PASSWORD, --manifest-server-password=MANIFEST_SERVER_PASSWORD
- password to authenticate with the manifest server
- --fetch-submodules
- fetch submodules from server
- --use-superproject
- use the manifest superproject to sync projects
- --no-tags
- don't fetch tags
- --optimized-fetch
- only fetch projects fixed to sha1 if revision does not exist locally
- --retry-fetches=RETRY_FETCHES
- number of times to retry fetches on transient errors
- --prune
- delete refs that no longer exist on the remote
- repo Version options:
- --no-repo-verify
- do not verify repo source code
Run `repo help smartsync` to view the detailed manual.
Description
The 'repo smartsync' command is a shortcut for sync -s.
January 2021 | repo smartsync |