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 or 1)
number of local checkout jobs to run in parallel (defaults to --jobs or 4)
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
run garbage collection on all synced projects
do not run garbage collection on any projects (default)

Logging options:

show all output
only show errors

Multi-manifest options:

operate starting at the outermost manifest
do not operate on outer manifests
only operate on this (sub)manifest
operate on this manifest and its submanifests

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.

January 2023 repo smartsync