Provided by: repo_2.9-1_all bug


       repo - repo init - manual page for repo init


       repo init [options]



       Initialize repo in the current directory


       -h, --help
              show this help message and exit

              Logging options:

       -v, --verbose
              show all output

       -q, --quiet
              only show errors

              Manifest options:

       -u URL, --manifest-url=URL
              manifest repository location

       -b REVISION, --manifest-branch=REVISION
              manifest branch or revision

       -c, --current-branch
              fetch only current manifest branch from server

       -m NAME.xml, --manifest-name=NAME.xml
              initial manifest file

              create a replica of the remote repositories rather than a client working directory

              location of mirror directory

              dissociate from reference mirrors after clone

              create a shallow clone with given depth; see git clone

              perform                                partial                                clone

              filter for use with --partial-clone [default: blob:none]

              checkout an archive instead of a git repository for each project. See git archive.

              sync any submodules associated with the manifest repo

       -g GROUP, --groups=GROUP
              restrict    manifest    projects    to     ones     with     specified     group(s)

       -p PLATFORM, --platform=PLATFORM
              restrict   manifest   projects   to   ones   with   a   specified   platform  group

              force use of /clone.bundle on HTTP/HTTPS (default if not --partial-clone)

              disable use of /clone.bundle on HTTP/HTTPS (default if --partial-clone)

              don't fetch tags in the manifest

              repo Version options:

              repo repository location

              repo branch or revision

              do not verify repo source code

              Other options:

              Always prompt for name/e-mail

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


       The 'repo init' command is run once to install and initialize repo. The latest repo source
       code  and manifest collection is downloaded from the server and is installed in the .repo/
       directory in the current working directory.

       The optional -b argument can be used to select the manifest branch to checkout and use. If
       no branch is specified, master is assumed.

       The  optional  -m  argument can be used to specify an alternate manifest to be used. If no
       manifest is specified, the manifest default.xml will be used.

       The --reference option can be used to point to a directory  that  has  the  content  of  a
       --mirror  sync. This will make the working directory use as much data as possible from the
       local reference directory when fetching from the server. This will make the sync go a  lot
       faster by reducing data traffic on the network.

       The  --dissociate  option  can  be used to borrow the objects from the directory specified
       with the --reference option only to reduce network transfer, and stop borrowing from  them
       after a first clone is made by making necessary local copies of borrowed objects.

       The  --no-clone-bundle option disables any attempt to use $URL/clone.bundle to bootstrap a
       new Git repository from a resumeable bundle file on a content delivery network.  This  may
       be  necessary  if  there  are  problems  with  the  local  Python  HTTP  client  or  proxy
       configuration, but the Git binary works.

       Switching Manifest Branches

       To switch to another manifest branch, `repo  init  -b  otherbranch`  may  be  used  in  an
       existing  client. However, as this only updates the manifest, a subsequent `repo sync` (or
       `repo sync -d`) is necessary to update the working directory files.