multirepo
a power tool for batch processing multiple github repositories
usage
install and clone all your repos into cwd
:
npm install multirepo -g // clone all new repos. gets all the first time. on subsequent executions will only get new onesmultirepo clone
then later pull all repos that have changed since you first cloned:
multirepo pullChecking
your github credentials are stored in ~/.config/multirepo-github.json
.
the timestamp of your last successful pull/clone is stored in ~/.config/last-multirepo-fetch.txt
clone and pull all new repos since a custom timestamp:
multirepo pull --since 2013-11-28
you can check how many have changed by just running multirepo
clone someone elses repos:
multirepo clone --user substack --since 2014-01-01
bulk updating
If you clone many users' repos into one repositories organized by username, e.g.:
$ ls repositories/
dominictarr
mafintosh
maxogden
raynos
rvagg
substack
then you can put this bash script in your repositories
folder and run it to bulk update all of the sub-multirepo folders:
#!/bin/bash date +%Y-%m-%d > lastdate.txt