---
name: "repo-gc"
section: "1"
platform: "linux"
package: "repo"
version: "2.67-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/repo-gc"
---

# repo-gc(1)

repo gc - manual page for repo gc

## NAME

repo - repo gc - manual page for repo gc

## SYNOPSIS

**repo** *gc*

## DESCRIPTION

Summary

Cleaning up internal repo and Git state.

## OPTIONS

- **-h**, **--help**

  show this help message and exit

- **-n**, **--dry-run**

  do everything except actually delete

- **-y**, **--yes**

  answer yes to all safe prompts

- **--repack**

  repack all projects that use partial clone with filter=blob:none

### Logging options:

- **-v**, **--verbose**

  show all output

- **-q**, **--quiet**

  only show errors

### Multi-manifest options:

- **--outer-manifest**

  operate starting at the outermost manifest

- **--no-outer-manifest**

  do not operate on outer manifests

- **--this-manifest-only**

  only operate on this (sub)manifest

- **--no-this-manifest-only**, **--all-manifests**

  operate on this manifest and its submanifests

Run \`repo help gc\` to view the detailed manual.
