1REPO(1) Repo Manual REPO(1)
2
3
4
6 repo - repo gitc-init - manual page for repo gitc-init
7
9 repo gitc-init [options] [client name]
10
12 Summary
13
14 Initialize a GITC Client.
15
17 -h, --help
18 show this help message and exit
19
20 Logging options:
21 -v, --verbose
22 show all output
23
24 -q, --quiet
25 only show errors
26
27 Manifest options:
28 -u URL, --manifest-url=URL
29 manifest repository location
30
31 -b REVISION, --manifest-branch=REVISION
32 manifest branch or revision (use HEAD for default)
33
34 -m NAME.xml, --manifest-name=NAME.xml
35 initial manifest file
36
37 -g GROUP, --groups=GROUP
38 restrict manifest projects to ones with specified group(s) [de‐
39 fault|all|G1,G2,G3|G4,-G5,-G6]
40
41 -p PLATFORM, --platform=PLATFORM
42 restrict manifest projects to ones with a specified platform
43 group [auto|all|none|linux|darwin|...]
44
45 --submodules
46 sync any submodules associated with the manifest repo
47
48 --standalone-manifest
49 download the manifest as a static file rather then create a git
50 checkout of the manifest repo
51
52 Manifest (only) checkout options:
53 --current-branch
54 fetch only current manifest branch from server
55
56 --no-current-branch
57 fetch all manifest branches from server
58
59 --tags fetch tags in the manifest
60
61 --no-tags
62 don't fetch tags in the manifest
63
64 Checkout modes:
65 --mirror
66 create a replica of the remote repositories rather than a client
67 working directory
68
69 --archive
70 checkout an archive instead of a git repository for each
71 project. See git archive.
72
73 --worktree
74 use git-worktree to manage projects
75
76 Project checkout optimizations:
77 --reference=DIR
78 location of mirror directory
79
80 --dissociate
81 dissociate from reference mirrors after clone
82
83 --depth=DEPTH
84 create a shallow clone with given depth; see git clone
85
86 --partial-clone
87 perform partial clone (https://gitscm.com/docs/gitrepositorylay‐
88 out#_code_partialclone_code)
89
90 --no-partial-clone
91 disable use of partial clone (https://gitscm.com/docs/gitreposi‐
92 torylayout#_code_partialclone_code)
93
94 --partial-clone-exclude=PARTIAL_CLONE_EXCLUDE
95 exclude the specified projects (a comma-delimited project names)
96 from partial clone (https://gitscm.com/docs/gitrepositorylay‐
97 out#_code_partialclone_code)
98
99 --clone-filter=CLONE_FILTER
100 filter for use with --partial-clone [default: blob:none]
101
102 --use-superproject
103 use the manifest superproject to sync projects; implies -c
104
105 --no-use-superproject
106 disable use of manifest superprojects
107
108 --clone-bundle
109 enable use of /clone.bundle on HTTP/HTTPS (default if not --par‐
110 tial-clone)
111
112 --no-clone-bundle
113 disable use of /clone.bundle on HTTP/HTTPS (default if --par‐
114 tial-clone)
115
116 repo Version options:
117 --repo-url=URL
118 repo repository location ($REPO_URL)
119
120 --repo-rev=REV
121 repo branch or revision ($REPO_REV)
122
123 --no-repo-verify
124 do not verify repo source code
125
126 Other options:
127 --config-name
128 Always prompt for name/e-mail
129
130 GITC options:
131 -f MANIFEST_FILE, --manifest-file=MANIFEST_FILE
132 Optional manifest file to use for this GITC client.
133
134 -c GITC_CLIENT, --gitc-client=GITC_CLIENT
135 Name of the gitc_client instance to create or modify.
136
137 Run `repo help gitc-init` to view the detailed manual.
138
140 The 'repo gitc-init' command is ran to initialize a new GITC client for
141 use with the GITC file system.
142
143 This command will setup the client directory, initialize repo, just
144 like repo init does, and then downloads the manifest collection and in‐
145 stalls it in the .repo/directory of the GITC client.
146
147 Once this is done, a GITC manifest is generated by pulling the HEAD SHA
148 for each project and generates the properly formatted XML file and in‐
149 stalls it as .manifest in the GITC client directory.
150
151 The -c argument is required to specify the GITC client name.
152
153 The optional -f argument can be used to specify the manifest file to
154 use for this GITC client.
155
156
157
158repo gitc-init November 2021 REPO(1)