blob: 1d1b23a833a5ac7dffaf04b7c18354bf5aa94266 [file] [log] [blame]
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH REPO "1" "July 2021" "repo gitc-init" "Repo Manual"
repo \- repo gitc-init - manual page for repo gitc-init
.B repo
\fI\,gitc-init \/\fR[\fI\,options\/\fR] [\fI\,client name\/\fR]
Initialize a GITC Client.
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.SS Logging options:
\fB\-v\fR, \fB\-\-verbose\fR
show all output
\fB\-q\fR, \fB\-\-quiet\fR
only show errors
.SS Manifest options:
\fB\-u\fR URL, \fB\-\-manifest\-url\fR=\fI\,URL\/\fR
manifest repository location
\fB\-b\fR REVISION, \fB\-\-manifest\-branch\fR=\fI\,REVISION\/\fR
manifest branch or revision (use HEAD for default)
\fB\-m\fR NAME.xml, \fB\-\-manifest\-name\fR=\fI\,NAME\/\fR.xml
initial manifest file
\fB\-g\fR GROUP, \fB\-\-groups\fR=\fI\,GROUP\/\fR
restrict manifest projects to ones with specified
group(s) [default|all|G1,G2,G3|G4,\-G5,\-G6]
\fB\-p\fR PLATFORM, \fB\-\-platform\fR=\fI\,PLATFORM\/\fR
restrict manifest projects to ones with a specified
platform group [auto|all|none|linux|darwin|...]
sync any submodules associated with the manifest repo
.SS Manifest (only) checkout options:
fetch only current manifest branch from server
fetch all manifest branches from server
fetch tags in the manifest
don't fetch tags in the manifest
.SS Checkout modes:
create a replica of the remote repositories rather
than a client working directory
checkout an archive instead of a git repository for
each project. See git archive.
use git\-worktree to manage projects
.SS Project checkout optimizations:
location of mirror directory
dissociate from reference mirrors after clone
create a shallow clone with given depth; see git clone
perform partial clone (
disable use of partial clone (
exclude the specified projects (a comma\-delimited
project names) from partial clone (
filter for use with \fB\-\-partial\-clone\fR [default:
use the manifest superproject to sync projects
disable use of manifest superprojects
enable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if
not \fB\-\-partial\-clone\fR)
disable use of \fI\,/clone.bundle\/\fP on HTTP/HTTPS (default if
.SS repo Version options:
repo repository location ($REPO_URL)
repo branch or revision ($REPO_REV)
do not verify repo source code
.SS Other options:
Always prompt for name/e\-mail
.SS GITC options:
\fB\-f\fR MANIFEST_FILE, \fB\-\-manifest\-file\fR=\fI\,MANIFEST_FILE\/\fR
Optional manifest file to use for this GITC client.
\fB\-c\fR GITC_CLIENT, \fB\-\-gitc\-client\fR=\fI\,GITC_CLIENT\/\fR
Name of the gitc_client instance to create or modify.
Run `repo help gitc\-init` to view the detailed manual.
The 'repo gitc\-init' command is ran to initialize a new GITC client for use with
the GITC file system.
This command will setup the client directory, initialize repo, just like repo
init does, and then downloads the manifest collection and installs it in the
\&.repo/directory of the GITC client.
Once this is done, a GITC manifest is generated by pulling the HEAD SHA for each
project and generates the properly formatted XML file and installs it as
\&.manifest in the GITC client directory.
The \fB\-c\fR argument is required to specify the GITC client name.
The optional \fB\-f\fR argument can be used to specify the manifest file to use for
this GITC client.