Hacker News new | ask | show | jobs
by sillysaurus2 4598 days ago
Is there an easy way to rehost Github repos outside of Github?
1 comments

Bitbucket?
Same problem... They'll just serve bitbucket with a takedown. I was hoping there's a way for people to easily rehost repos on their own servers.

    $ git bundle create one-file.git --all
That creates a single file containing all branches in the repository. It's a plain file so you can copy that around with any protocol you like. Open it with

    $ git clone one-file.git new-repo
If you want to collaborate on further development and don't mind running something on the server, gitolite [1] is stable and powerful. Note that if your repo becomes popular, _you_ might be served with the takedown notice.

[1] http://gitolite.com/

Bitbucket has free private repos.
Of course, it's just a git repo. Clone it anywhere.