Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there an easy way to rehost Github repos outside of Github?


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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: