REPO(1)
π NAME π
okay so bestie, welcome to the repo manual page β specifically the one for repo gitc-init. that's it, that's the name, periodt. π
β¨ SYNOPSIS β¨
repo gitc-init [options] [client name]
π DESCRIPTION π
Summary β hold onto your scrunchie:
Initialize a GITC Client. π¦
π OPTIONS π
-h,--helpβ pops up this help message and then dips. show's over, bye! π
πΈ Logging options πΈ
-v,--verboseβ show all the output. every last crumb, no gatekeeping. π-q,--quietβ only show errors. silent treatment mode, but like, productive. π
π Manifest options π
-u URL,--manifest-url=URLβ where the manifest repository lives. its address, its home. π-b REVISION,--manifest-branch=REVISIONβ the manifest branch or revision (useHEADfor the default, bestie, just sayHEAD). πΏ-m NAME.xml,--manifest-name=NAME.xmlβ the initial manifest file. yes the.xmlis part of it, don't @ me. π-g GROUP,--groups=GROUPβ restrict manifest projects to the ones with the specified group(s), and the vibes are[default|all|G1,G2,G3|G4,-G5,-G6]. yes you can negate them, yes it's iconic. β¨-p PLATFORM,--platform=PLATFORMβ restrict manifest projects to ones with a specified platform group[auto|all|none|linux|darwin|...]. platform-specific slay. π₯οΈ--submodulesβ sync any submodules hanging around the manifest repo. bring the whole friend group. π«Ά--standalone-manifestβ download the manifest as a static file rather than creating a git checkout of the manifest repo. no clone, just vibes. π§--manifest-depth=DEPTHβ create a shallow clone of the manifest repo with the given depth (0for a full clone); seegit clone(default:0). lowkey shallow, highkey valid. π
π Manifest (only) checkout options π
--current-branchβ fetch only the current manifest branch from the server (this is the default, btw). one branch, one bestie. β--no-current-branchβ fetch all the manifest branches from the server. collect them all. π--tagsβ fetch tags in the manifest. tag, you're it. π·οΈ--no-tagsβ don't fetch tags in the manifest. nope, no tags today. π
π¦ Checkout modes π¦
--mirrorβ create a replica of the remote repositories rather than a client working directory. it's giving mirrorball. πͺ©--archiveβ checkout an archive instead of a git repository for each project. seegit archive. π¦--worktreeβ usegit-worktreeto manage projects. worktree, worktree, worktree. π³
π₯ Project checkout optimizations π₯
--reference=DIRβ location of the mirror directory. point me to it. π--dissociateβ dissociate from the reference mirrors after clone. it's not you, it's the borrow. π--depth=DEPTHβ create a shallow clone with the given depth; seegit clone. π--partial-cloneβ perform partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code). half the data, all the energy. β¨--no-partial-cloneβ disable use of partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code). full send, no halves. π―--partial-clone-exclude=PARTIAL_CLONE_EXCLUDEβ exclude the specified projects (a comma-delimited list of project names) from partial clone (https://gitscm.com/docs/gitrepositorylayout#_code_partialclone_code). not invited to the partial party. π«--clone-filter=CLONE_FILTERβ the filter for use with--partial-clone[default:blob:none]. the default filter ate and left no crumbs. π--use-superprojectβ use the manifest superproject to sync projects; implies-c. superproject has main character energy fr fr. π¦Έ--no-use-superprojectβ disable use of manifest superprojects. superproject, you're on mute. π--clone-bundleβ enable use of/clone.bundleon HTTP/HTTPS (default if not--partial-clone). π--no-clone-bundleβ disable use of/clone.bundleon HTTP/HTTPS (default if--partial-clone). no bundle, we're good. π--git-lfsβ enable Git LFS support. big files deserve love too. π--no-git-lfsβ disable Git LFS support. not today, LFS. π
π§ repo Version options π§
--repo-url=URLβ repo repository location ($REPO_URL). yes it's an env var, yes it's fancy. π--repo-rev=REVβ repo branch or revision ($REPO_REV). pick your era. β³--no-repo-verifyβ do not verify repo source code. living dangerously, I see. π
πΈ Other options πΈ
--config-nameβ Always prompt for name/e-mail. it wants to know who you are. π
π GITC options π
-f MANIFEST_FILE,--manifest-file=MANIFEST_FILEβ Optional manifest file to use for this GITC client. β¨-c GITC_CLIENT,--gitc-client=GITC_CLIENTβ Name of the gitc_client instance to create or modify. this one is important, we'll get to it. π₯
π Multi-manifest π
--outer-manifestβ operate starting at the outermost manifest. go big, start outside. π--no-outer-manifestβ do not operate on outer manifests. stay in your lane. π£οΈ--this-manifest-onlyβ only operate on this (sub)manifest. just this one, nothing else. π―--no-this-manifest-only,--all-manifestsβ operate on this manifest and its submanifests. the whole family tree. π³
Run repo help gitc-init to view the detailed manual. like, the actually detailed one. π
π DETAILS π
The repo gitc-init command is ran to initialize a new GITC client for use with the GITC file system. that's the whole point of it, bestie. π«Ά
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. it's doing the most, and honestly? it's serving. β¨
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. cute little XML, freshly baked. π
The-cargument is required to specify the GITC client name. no-c, no client, no cap. π¨
The optional -f argument can be used to specify the manifest file to use for this GITC client. optional, unlike -c. π
and that's the whole page, bestie β repo gitc-init, from the Repo Manual, dated October 2022. go forth and initialize, you absolute icon. πβ¨π¦
π¦ where this page comes from
- debian bookworm: repo 2.31-1 Β· Apache-2.0
- ubuntu noble: repo 2.36.1-1 Β· Apache-2.0
- ubuntu noble: repo 2.36.1-1ubuntu0.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms