https://github.com/clarkema/git-slurp
Clone all repositories of a GitHub organisation
https://github.com/clarkema/git-slurp
git github perl6
Last synced: 5 months ago
JSON representation
Clone all repositories of a GitHub organisation
- Host: GitHub
- URL: https://github.com/clarkema/git-slurp
- Owner: clarkema
- License: gpl-3.0
- Created: 2019-07-11T21:06:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T00:40:08.000Z (over 5 years ago)
- Last Synced: 2025-05-31T09:27:46.062Z (about 1 year ago)
- Topics: git, github, perl6
- Language: Raku
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-slurp - clone all repositories of a GitHub organisation
`git-slurp` works with GitHub's [hub](https://github.com/github/hub) to
bulk-clone all the repositories of a GitHub organisation.
Assuming you have a working Perl 6 installation, clone this repository and drop
`bin/git-slurp` somewhere in your $PATH. Then:
1. Make sure you have [hub](https://github.com/github/hub) installed and
working. You should be able to run `hub api orgs/ORGNAME/repos` and
see a page of JSON data.
2. Once that's working, change into the directory you want your clones to
appear in, and run `git slurp ORGNAME`. Any repository not already
present in the current directory will be cloned.
There is a `--dry-run` option for the fearful.
git-slurp offers no features to keep the repositories up-to-date once you've
got them -- if you want that, you might be interested in
[git-map](https://github.com/clarkema/git-map).