Hacker News new | past | comments | ask | show | jobs | submit login

I have a script [0] that almost does this, but currently only downloads forks. Could easily be modified to work on all types of repos. Maybe one day I'll get around to doing that myself, hopefully before any spurious lockouts... but then again I usually create the repo locally first and push to GH later, so I should have all my repos already.

Also this only does the initial cloning, I still need to implement pulling down new commits.

But, the majority of the boilerplate is taken care of, like for authenticating to their API.

PRs welcome! And don't forget to fork it ;)

[0]: https://github.com/TwoRingSoft/tools/blob/master/bin/sync-fo...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: