Gitolite

    Installation

    aptitude install gitolite

    useradd -m projects

    ssh-keygen -t rsa -b 2048 -N "nopassword" -f /tmp/id_rsa

    Notice: Optional if you have already public key.

    dpkg-reconfigure gitolite

    Note: this command allow also to create a new repositories directory.

    Configuration

    .gitolite.rc

    $REPO_UMASK = 0077; # gets you 'rwx------'