A utility for cloning and fetching your remote git repositories from GitHub.
gethubhelps you keep all of your git repositories that have GitHub remotes up to date.
You can download a binary,
exe, depending on your platform.
To determine your platform:
On Darwin, you can copy the binary to your bin:
cp ~/path/to/gethub /usr/local/bin/
Or, if you have Go installed:
go install github.com/pearkes/gethub
$ gethub authorize
This asks you where you want to clone your repositories as well as creating an OAuth token for future GitHub requests.
The next time you run a
gethub, all of your new repositories will be cloned and your existing repositories will be fetched.
It's useful if you have a lot of repos and may not have an internet connection.
Never leave home without running
It's opinionated about how you organize your repositories.
├── pearkes │ ├── gethub │ ├── tugboat │ └── jack.ly ├── mitchellh │ └── vagrant ├── amadeus │ └── html7 ├── someorg │ └── bigproject └── someotherorg └── biggerproject
Basically, your repositories will be name-spaced according to who the owner is on GitHub.
gethubexist, like it's
git fetchin repositories that exist.
Configuration is stored in a
.gethubconfigfile in your home directory. (
Sometimes you don't want to retrieve that gigantic project that someone committed
[ignores] repo: icloud, facebook, pearkes/bootstrap owner: adobe
Check out the contributing guide.