REPO(1) Repo REPO(1) (NAME) repo - repo (SYNOPSIS) repo manifest [-o {-|NAME.xml}] [-m MANIFEST.xml] [-r] (DESCRIPTION) (OPTIONS) -h, --help -r, --revision-as-HEAD (revisions) HEAD -m NAME.xml, --manifest-name=NAME.xml (sync) --suppress-upstream-revision -r upstream ( sha1 ) --suppress-dest-branch -r dest-branch ( sha1 ) --format=FORMAT : xml, json (: xml) --pretty --no-local-manifests -o -|NAME.xml, --output-file=-|NAME.xml . ( [multi-tree].) (Logging options): -v, --verbose -q, --quiet (Multi-manifest options): --outer-manifest --no-outer-manifest --this-manifest-only () --no-this-manifest-only, --all-manifests `repo help manifest` . (DETAILS) -o . local_manifests/ ( ) . 'repo init' Git . -r . << >> . 'upstream' . 'dest-branch' 'repo upload' . --format . XML <<>> . --pretty . repo repo repo git . (bare) Git XML `default.xml` . Git . `repo sync` . [TOC] XML XML ( `default.xml`) DTD : ```xml .IP ]> ``` repo . repo . `x-*` repo . . manifest . notice `repo sync` . . remote remote . remote (Git URL) ( ) Gerrit . `name`: . remote .git/config `git fetch` `git remote` `git pull` `git push` . `alias`: `name` remote .git/config . `name` . remote remote . `fetch`: remote . . `pushurl`: <> remote . <> . <> `fetch` . `review`: (Hostname) Gerrit `repo upload` . `repo upload` . `revision`: ( `main` `refs/heads/main`). revision revision . default default . remote revision project remote revision . `remote`: remote . project remote remote . `revision`: ( `main` `refs/heads/main`). project revision revision . `dest-branch`: ( `main`). project `dest-branch` . `revision` . `upstream`: (ref) sha1 . revision -c ref . project `upstream` . `sync-j`: (jobs) . `sync-j-max`: . `sync-c`: true ( `revision`) ref . project sync-c . `sync-s`: true (sub-projects) . `sync-tags`: false ref ( `revision`) . manifest-server manifest-server . url XML RPC . [ smart sync](./smart-sync.md) . submanifest submanifest . checkout . `name`: ( (sub)manifest ) submanifest. `revision` . submanifest (sub)manifest . `remote`: remote . remote default . `project`: . fetch remote remote . : ${remote_fetch}/${project_name}.git ${remote_fetch} fetch remote ${project_name} name project . <<.git>> repo (upstream) bare . . Gerrit Gerrit . `project` <<.>> <<..>> . fetch remote ..PP remote project : `remote` . submanifest submanifest submanifest::path: . `manifest-name`: . `default.xml` . `revision`: Git ( <
> <>) ( <>) . `name` . `path`: (top directory) repo repo submanifest . `revision` . `path` <<.>> <<..>> . `groups`: submanifest . submanifest submanifest . `project` . `default-groups`: (sync) `--groups=` init . <> . project project . Git repo . project Git-submodule . Git-submodule project (override) . `name`: . (fetch URL) remote Git . : ${remote_fetch}/${project_name}.git ${remote_fetch} fetch ${project_name} name . <<.git>> repo upstream bare Git . . Gerrit (code review) Gerrit . <> <<.>> <<..>> . fetch remote . [Local Manifests] . `path`: repo Git . <> . . <> <<.>> <<..>> . [Local Manifests] . checkout ( README Makefile ) [copyfile] [linkfile] . `remote`: remote . remote default . `revision`: Git . refs/heads ( <
>) ( <>) . (tags) / SHA-1 . revision remote default . `dest-branch`: Git ( `main`). `repo upload` . default `revision` . `groups`: . <> :`name` :`path` . `` : default name:monkeys path:barrel-of. <> repo . `name` `path` . `sync-c`: Git ( `revision`) ref true . `sync-s`: true . `upstream`: ref Git sha1 . revision -c ref . `clone-depth`: (fetch) . --depth repo init (override). `force-path`: (local mirror) `path` ( ) `name` true . . extend-project . (local manifest) . . `extend-project` `annotation` `copyfile` `linkfile` . . `copyfile` `linkfile` `dest` (overwrite) . `path`: (checked out) . `dest-path`: repo Git . checkout `path` . `groups`: . `project` . `revision`: revision (override). `project` . `remote`: remote . `project` . `dest-branch`: dest-branch . `project` . `upstream`: upstream . `project` . `base-rev`: revision . revision base-rev extend . revision revision upstream (patch branches) . ref base-rev . `project` . annotation annotation project extend-project remote . - (name-value) . - 'forall' `REPO__` (export) . "keep" "true" () "false" . manifest (annotation) . copyfile copyfile project extend-project . src-dest `repo sync` "src" "dest" . "src" "dest" (top of the tree). repo . "src" "dest" . (symlinks) . . "dest" ..PP . . linkfile . linkfile copyfile (symlink) . "dest" ( ) "src" . "dest" . repo . . . copyfile . remove-project project . (local manifest) . `name` `path` . name . name path . path . . `optional`: remove-project `project` true . `base-rev`: (revision) . base-rev . (patch) . base-rev . `project` . repo-hooks : repo [ ](./repo-hooks.md) . repo-hooks . . `in-project`: . `name` (**** `path`) `project` . `enabled-list`: . superproject *** **: . *** : [ git](https://en.wikibooks.org/wiki/Git/Submodules_and_Superprojects) . URL (superproject) . "name" "remote" . "name" . superproject . . `name`: . name project . [ project](#element-project) . `remote`: remote . default . `revision`: Git . remote default . contactinfo *** **: . *** . "bugurl" . . . `bugurl`: URL . include . - . `name`: . "name" "." ".." . [ ] . `groups`: . include . extend-project . `project` . `revision`: Git ( `main` `refs/heads/main`) . . (Local Manifests) `$TOP_DIR/.repo/local_manifests/*.xml` . : $ ls .repo/local_manifests local_manifest.xml another_local_manifest.xml $ cat .repo/local_manifests/local_manifest.xml `repo sync` () repo . `$TOP_DIR/.repo/local_manifests/*.xml` . local:: . `$TOP_DIR/.repo/local_manifest.xml` ..SS [copyfile]: #Element-copyfile [linkfile]: #Element-linkfile [Local Manifests]: #local-manifests repo manifest REPO(1)