REPO(1)

πŸ’– NAME πŸ’–

repo β€” the repository management tool built on top of git, bestie. That's the whole vibe. This is the Repo Manual, and it's about to be your new roman empire. 🫢


✨ SYNOPSIS ✨

repo [-p|--paginate|--no-pager] COMMAND [ARGS]

So like. You give repo a COMMAND, you optionally hand it some ARGS, and you can pre-emptively settle the pager drama up front with -p/--paginate/--no-pager. That's it, that's the shape of it. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” shows this help message and then dips. exit(0) behavior, iconic.
  • --help-all β€” same help message but it brings all the subcommands along too, then exits. the full tour, no skips.
  • -p, --paginate β€” shows command output in the pager. cozy scrolling. πŸ¦‹
  • --no-pager β€” turns the pager off. raw output, straight to your terminal, no middleman.
  • --color=COLOR β€” controls how color gets used. your options are auto, always, never. pick your aesthetic. 🌈
  • --trace β€” traces git command execution. equivalent to setting REPO_TRACE=1. peak detective energy πŸ”
  • --trace-to-stderr β€” the trace outputs go to stderr in addition to .repo/TRACE_FILE. two places, no waiting.
  • --trace-python β€” traces python command execution. yes, the Python too.
  • --time β€” time repo command execution. clocking it, literally. ⏱️
  • --version β€” displays this version of repo. which one are you on, bestie?
  • --show-toplevel β€” displays the path of the top-level directory of the repo client checkout. your home base. 🏠
  • --event-log=EVENT_LOG β€” filename of the event log to append the timeline to. yes, a whole timeline, main character energy.
  • --git-trace2-event-log=GIT_TRACE2_EVENT_LOG β€” directory to write the git trace2 event log to.
  • --submanifest-path=REL_PATH β€” submanifest path. that's the whole thing, it's just the submanifest path.

🌸 The complete list of recognized repo commands is: 🌸

  • abandon β€” Permanently abandon a development branch. note the word permanently, bestie, there is no undo button on this one 😭
  • branch β€” view current topic branches. πŸ‘€
  • branches β€” view current topic branches. (yes, same energy as branch, it's the plural twin, we love a duo)
  • checkout β€” checkout a branch for development. go get your workspace.
  • cherry-pick β€” cherry-pick a change.
  • diff β€” show changes between commit and working tree. the receipts. 🧾
  • diffmanifests β€” manifest diff utility.
  • download β€” download and checkout a change.
  • forall β€” run a shell command in each project. every single one. no skipping. πŸ’€
  • gc β€” cleaning up internal repo and Git state.
  • grep β€” print lines matching a pattern.
  • help β€” display detailed help on a command.
  • info β€” get info on the manifest branch, current branch or unmerged branches. the tea β˜•
  • init β€” initialize a repo client checkout in the current directory.
  • list β€” list projects and their associated directories.
  • manifest β€” manifest inspection utility.
  • overview β€” display overview of unmerged project branches.
  • prune β€” prune (delete) already merged topics. bye girl πŸ‘‹
  • rebase β€” rebase local branches on upstream branch.
  • selfupdate β€” update repo to the latest version. glow up time ✨
  • smartsync β€” update working tree to the latest known good revision. emphasis on good.
  • stage β€” stage file(s) for commit.
  • start β€” start a new branch for development.
  • status β€” show the working tree status.
  • sync β€” update working tree to the latest revision.
  • upload β€” upload changes for code review. send it πŸš€
  • version β€” display the version of repo.
  • wipe β€” wipe projects from the worktree. destructive behavior, be so serious about this one
See 'repo help <command>' for more information on a specific command.
Bug reports: https://issues.gerritcodereview.com/issues/new?component=1370071

okay that's the whole page, you ate it, no crumbs πŸ’…

this was repo, from the Repo Manual, and the version/date stamp on this whole thing is June 2026 β€” so if you're reading this from the future, hey bestie, you're right on time. πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from