Clone all your github repos AND set upstream for your forks
You need to:
- have git installed
- have a personal access token
$ clonymccloneface --token "df79XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -u cjrh .
✅ Cloned dockerctx
✅ Cloned easycython
✅ Cloned enumerate_reversible
✅ Cloned excitertools
✅ Cloned fileinput.rs (and set upstream repo)
⡏ Cloning flashtext...
For each repo in your github account, it will:
- Clone the repo
- If the repo is a fork, it will also set the "upstream" remote in your working copy.
Roughly, the equivalent of these commands:
$ git clone [email protected]:<user>/<repo>.git
$ cd <repo>
$ git remote add upstream [email protected]:<upstream>/<repo>.git