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
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 you@git.you.com:/tmp/dongsheng.pub
# Then, as root:
cd $HOME
yaourt -S gitolite-git
su git
git config user.email "yourname@gmail.com"
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 git@git.you.com:gitolite-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment