Skip to content

Instantly share code, notes, and snippets.

@dcai
Forked from masnick/gitolite_hn.bash
Created July 4, 2011 08:56
Show Gist options
  • Save dcai/1063097 to your computer and use it in GitHub Desktop.
Save dcai/1063097 to your computer and use it in GitHub Desktop.
Setting up gitolite for archlinux
# First, get you id_rsa.pub onto the server as /tmp/YourName.pub
scp ~/ssh/id_rsa.pub [email protected]:/tmp/dongsheng.pub
# Then, as root:
cd $HOME
yaourt -S gitolite-git
su git
git config user.email "[email protected]"
git config user.name "Dongsheng Cai"
which gl-setup
gl-setup /tmp/dongsheng.pub
# Now, on your local computer in a convenient place run:
git clone [email protected]:gitolite-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment