🍺 BREW Explorer

← all formulae

ghorg

brew install ghorg v1.11.11 Apache-2.0

Quickly clone an entire org's or user's repositories into one directory

143
30-day installs · #2994
401
90-day · #3150
1.3k
365-day · #3416
2.1k
★ GitHub stars · updated 2mo ago

Build dependencies

go

GitHub topics

bitbucket clone devops gitea github gitlab go security-tools

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "go"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Quickly clone an entire org\u0027s or user\u0027s repositories into one directory",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:01+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "ghorg",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-12T15:04:53Z",
  "github_readme_excerpt": "# ghorg\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/gabrie30/ghorg)](https://goreportcard.com/report/github.com/gabrie30/ghorg) \u003ca href=\"https://godoc.org/github.com/gabrie30/ghorg\"\u003e\u003cimg src=\"https://godoc.org/github.com/gabrie30/ghorg?status.svg\" alt=\"GoDoc\"\u003e\u003c/a\u003e [![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![WakeMeOps](https://docs.wakemeops.com/badges/ghorg.svg)](https://docs.wakemeops.com//packages/ghorg)\n\nPronounced [gore-guh]; similar to [gorge](https://www.dictionary.com/browse/gorge). You can use ghorg to gorge on orgs.\n\nUse ghorg to quickly clone all of an orgs, or users repos into a single directory. This can be useful in many situations including\n\n1. Searching an orgs/users codebase with ack, silver searcher, grep etc..\n1. Bash scripting\n1. Creating backups\n1. Onboarding new team members (cloning all team repos)\n1. Performing Audits\n\n\u003e With default configuration ghorg performs two actions.\n\u003e 1. Will clone a repo if its not inside the clone directory.\n\u003e 2. If repo does exists locally in the clone directory it will perform a git pull and git clean on the repo.\n\n\u003e So when running ghorg a second time on the same org/user, all local changes in the cloned directory by default will be overwritten by what\u0027s on GitHub. If you want to work out of this directory, make sure you either rename the directory or set the `--no-clean` flag on all future clones to prevent losing your changes locally.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"648\" alt=\"ghorg cli example\" src=\"https://user-images.githubusercontent.com/1512282/63229247-5459f880-c1b3-11e9-9e5d-d20723046946.png\"\u003e\n\u003c/p\u003e\n\n## Supported Providers\n- GitHub (Self Hosted \u0026 Cloud)\n  - [Install](https://github.com/gabrie30/ghorg#installation) | [Setup](https://github.com/gabrie30/ghorg#github-setup) | [Examples](https://github.com/gab",
  "github_repo": "gabrie30/ghorg",
  "github_stars": 2059,
  "github_topics": [
    "bitbucket",
    "clone",
    "devops",
    "gitea",
    "github",
    "gitlab",
    "go",
    "security-tools"
  ],
  "homepage": "https://github.com/gabrie30/ghorg",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 143,
  "installs_365d": 1297,
  "installs_90d": 401,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "ghorg",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2994,
  "rank_365d": 3416,
  "rank_90d": 3150,
  "raw_hash": "70dd01cb67b67952",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/ghorg.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.11.11",
  "versioned_formulae": [],
  "why_use_this": null
}