All apps/ghorg

ghorg

ghorg

A command-line utility to clone all repositories belonging to a GitHub organization.

Runs as ghorg|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 12 fields

Clone every repository of an organization, group or user. Tokens are deliberately not a field; keep them in the ghorg config or the environment.

Opens the form; the finished command lands at your prompt, unrun
otty gui ghorg

ghorg clone

Clone all repositories of an owner
Clone all repositories of an ownerExample values, fixed in this page — nothing here reaches a terminal
Basic
Organization, group or user*
string
Clone into (absolute path)
directory
Skip archived
--skip-archived
Skip forks
--skip-forks
TasksEach one presets the form for one job
Clone an organization
ownerpathskip_archivedskip_forks
Mirror backup
ownerpathskip_archived
ParametersOnly these flags are editable in the form
Organization, group or user
string · positional 0
Hosting service
string
--scmgitlab
Owner type
string
--clone-typeuser
Self-hosted base URL
url
--base-url
Clone into (absolute path)
path
--path
Output directory name
string
--output-dir
Only repositories matching regex
string
--match-regex
Skip archived
boolean
--skip-archived
Skip forks
boolean
--skip-forks
Preserve directory structure
boolean
--preserve-dir
Mirror backup
boolean
--backup
Concurrent clones
integer
--concurrency
SourcesEvery flag above is checked against these
readme
$ ghorg clone davecheney --clone-type=user --token=<token> $ ghorg clone gitlab-examples --scm=gitlab --preserve-dir --token=<token> $ ghorg clone all-groups --scm=gitlab --base-url=https://gitlab.internal.yourcompany.com --preserve-dir $ ghorg clone kubernetes --path=/tmp/ghorg $ ghorg clone kubernetes --match-regex=^sig- --output-dir=kubernetes-sig-only Sk…
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed ghorg against its version. A form that does not match your version is not offered.