{"repo":"gabrie30/ghorg","free":true,"listed":false,"github":"https://github.com/gabrie30/ghorg","clone":"git clone https://github.com/gabrie30/ghorg.git","description":"Quickly clone or backup massive amounts of org/users repositories into one directory - Supports GitHub, GitLab, Bitbucket, and more 🐇🥚","language":"Go","stars":2118,"topics":["github","gitlab","bitbucket","clone","gitea","go","devops","security-tools"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"ghorg Pronounced [gore-guh]; similar to gorge. You can use ghorg to gorge on orgs. Use ghorg to quickly clone all of an orgs, or users repos into a single directory. This can be useful in many situations including 1. Searching an orgs/users codebase with ack, silver searcher, grep etc.. 1. Bash scripting 1. Creating backups 1. Onboarding new team members (cloning all team repos) 1. Performing Audits With default configuration ghorg performs two actions. 1. Will clone a repo if its not inside the clone directory. 2. If repo does exists locally in the clone directory it will perform a git pull and git clean on the repo. 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's 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. Supported Providers - GitHub (Self Hosted & Cloud) - Install Setup Examples - GitLab (Self Hosted & Cloud) - Install Setup Examples - Bitbucket (Cloud & Self-hosted Server) - Install Setup Examples - Gitea (Self Hosted Only) - Install Setup Examples - Codeberg (Cloud & Self Hosted Forgejo) - Install Setup Examples - Sourcehut (Limited Features) - Install Setup Examples The terminology used in ghorg is that of GitHub, mainly orgs/repos. GitLab and BitBucket use different terminology. There is a handy chart thanks to GitLab that translates termi","default_branch":null,"files":null,"tree":[],"storefront":"/r/gabrie30","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gabrie30/ghorg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}