Johnathan Kong
Git and Gitosis Quick Setup guide
Had a hell of a time getting this to work. Here are my exact deployment steps to get git up and running.
1 2 3 4 5 6 7 8 9 10 | apt-get install git-core
apt-get install gitosis
sudo adduser git
sudo mkdir /home/git/.ssh
sudo chown -R git:git /home/git/.ssh
sudo chmod 700 !$
ssh-keygen -t rsa
cp ~/.ssh/id_rsa.pub /tmp/my_key.pub
sudo -H -u git gitosis-init < /tmp/my_key.pub
git clone git@localhost:gitosis-admin.git |