Skip to content

Instantly share code, notes, and snippets.

@fire
Last active August 29, 2015 14:01
Show Gist options
  • Save fire/8e2620ff5f15ac95cb7b to your computer and use it in GitHub Desktop.
Save fire/8e2620ff5f15ac95cb7b to your computer and use it in GitHub Desktop.
  1. Create git user

    groupadd git

     sudo useradd \
     -s /bin/bash \
     -c 'git version control' \
     -g git\
     -d /home/git -m git
    
  2. Copy a public SSH key for the user you want to be the gitolite administrator. In the instructions below, I placed the key in a file named /home/git/me.pub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment