REPO(1)
β¨ NAME β¨
okay so this is repo β specifically repo gc, and yes bestie this is your manual page for it π welcome to the Repo Manual, pull up a chair, we're cleaning house π§Ήβ¨
π¦ SYNOPSIS π¦
repo gc
that's it. that's the whole vibe check. no flags required, no arguments, just you and the garbage collector π
πΈ DESCRIPTION πΈ
Summary
Cleaning up internal repo and Git state. π§Όβ¨
basically it's the "bestie we need to talk about your storage" command. it goes in and tidies up the internal repo + Git situation. lowkey iconic behavior, no cap.
π OPTIONS π
-h,--helpβ shows you this help message and then dips (exits). your little orientation tour π«Ά-n,--dry-runβ does literally everything except actually deleting anything. it's the "window shopping" mode, the rehearsal, the dress rehearsal if you will π-y,--yesβ answers yes to all the safe prompts automatically. no more tapping y like it's a rhythm game π--repackβ repacks all projects that use partial clone withfilter=blob:none. yes that's the exact filter, don't @ me, it's real π₯--keep-manifest-projectsβ keeps the Git data for projects that are still in the manifests. the "don't throw away my stuff that's still on the syllabus" flag π
π Logging options
-v,--verboseβ show all the output. every last crumb of it. main character narration energy π-q,--quietβ only show errors. silent treatment, but make it productive π
π§ Multi-manifest options
--outer-manifestβ operate starting at the outermost manifest. go big, start from the outside π--no-outer-manifestβ do not operate on outer manifests. minding your business, respectfully π--this-manifest-onlyβ only operate on this (sub)manifest. just this one, bestie, nobody else π--no-this-manifest-only,--all-manifestsβ operate on this manifest and its submanifests. the whole friend group, everybody's invited π«Ά
Run repo help gc to view the detailed manual. (fr fr, if you want the deep lore, that's where it lives)
π₯ DETAILS π₯
The repo gc command removes internal Git data for projects that are no longer active in the current configuration. it's giving "spring cleaning but for your repos" π§Ήπ
Projects excluded by the configured manifest groups are inactive by default. so if you ghosted them via groups, they're on the chopping block by default. periodt.
Use --keep-manifest-projects to keep Git data for projects that are still in the manifests. so if you want to protect the ones still on the roster, that's your flag, bestie π‘οΈβ¨
and that's the whole page, you ate that π β this was repo gc, from the Repo Manual, dated September 2026, and it's REPO(1) iykyk π¦β
π¦ where this page comes from
- fedora 43: repo 2.69-1.fc43 Β· Apache-2.0
- fedora 44: repo 2.69-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms