Scroll to navigation

REPO(1) Repo Manual REPO(1)

NAME

repo - repo smartsync - manual page for repo smartsync

SYNOPSIS

repo smartsync [<project>...]

DESCRIPTION

Summary

Update working tree to the latest known good revision

OPTIONS

show this help message and exit
number of jobs to run in parallel (default: based on number of CPU cores)
number of network jobs to run in parallel (defaults to --jobs)
number of local checkout jobs to run in parallel (defaults to --jobs)
obsolete option (to be deleted in the future)
stop syncing after first error is hit
overwrite an existing git directory if it needs to point to a different object directory. WARNING: this may cause loss of data
force remove projects with uncommitted modifications if projects no longer exist in the manifest. WARNING: this may cause loss of data
only update working tree, don't fetch
use the existing manifest checkout as-is. (do not update to the latest revision)
fetch only, don't update working tree
detach projects back to manifest revision
fetch only current branch from server
fetch all branches from server
temporary manifest to use for this sync
enable use of /clone.bundle on HTTP/HTTPS
disable use of /clone.bundle on HTTP/HTTPS
username to authenticate with the manifest server
password to authenticate with the manifest server
fetch submodules from server
use the manifest superproject to sync projects; implies -c
disable use of manifest superprojects
fetch tags
don't fetch tags (default)
only fetch projects fixed to sha1 if revision does not exist locally
number of times to retry fetches on transient errors
delete refs that no longer exist on the remote (default)
do not delete refs that no longer exist on the remote

Logging options:

show all output
only show errors

repo Version options:

do not verify repo source code

Run `repo help smartsync` to view the detailed manual.

DETAILS

The 'repo smartsync' command is a shortcut for sync -s.

November 2021 repo smartsync