Skip to content

Instantly share code, notes, and snippets.

@ifooth
Last active December 19, 2015 10:19
Show Gist options
  • Save ifooth/5939463 to your computer and use it in GitHub Desktop.
Save ifooth/5939463 to your computer and use it in GitHub Desktop.
#/bin/bash
useradd -m -U git
echo git:git | chpasswd
su git
ssh-keygen -C git@ifooth.com
git clone git://github.com/sitaramc/gitolite
mkdir -p $HOME/bin
gitolite/install -to $HOME/bin
$HOME/bin/gitolite setup -pk git.pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment