Created
August 13, 2012 20:47
-
-
Save ilude/3343977 to your computer and use it in GitHub Desktop.
Gitolite Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo adduser --system --shell /bin/sh --gecos 'git version control' --group --disabled-password --home /home/git git | |
su - git | |
cd ~ | |
apt-get -y install git-core | |
git clone git://github.com/sitaramc/gitolite | |
gitolite/install -ln /usr/local/bin | |
# copy public key to ~/id_rsa.pub | |
cp ~/id_rsa.pub /home/git | |
chown git:git /home/git/id_rsa.pub | |
su - git | |
gitolite setup -pk id_rsa.pub | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment