How-to setup a simple git push deployment
These are my notes basically. I first created this just as a reminder for myself. Feel free to use this for your project as a starting point.
On the server (example.com)
- Create a user on
example.com, as which we (the git client) connects (push) to
sudo useradd -m -s /usr/bin/git-shell git