3 ms·
Any local machine may be problematic (if you have a dynamic IP), but git is really easy to host on a VPS or any box with a static IP -- just make sure you have
by shantanubala 13y ago
Any local machine may be problematic (if you have a dynamic IP), but git is really easy to host on a VPS or any box with a static IP -- just make sure you have everyone's SSH keys authorized (not on root unless you trust everyone with that), and use the following:
$ git remote add origin2 user@your-ip:/path/to/repo.git
To create repo.git:
$ mkdir repo.git
$ cd repo.git
$ git --bare init