Git Server on VPS
How to setup a private git server on VPS
- run
useradd git
andpasswd git
to add a user account to remote server git init --bare project-name.git
asgit
user- on the local mechine, run
git init && git remote add origin git@example.com:project-name.git
Wed Jan 21 21:30:00 2015
Reference
- digitaloceanmore_info
- ams at toroid