June 20, 2019

Setting up a minimal central Git server

Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.

Setting up a minimal central Git server

The problem is: you have or want just one ssh login but multiple users that should be able to push and pull from a Git repo. And you don't want to give out the full ssh access. To solve this issue I used Gitolite in the past on a machine with Uberspace. On the Wiki of Uberspace you can find a detailed description. Since I am running my own server box I installed this light weight solution following the documentation at the Gitolite site.

The configuration of Gitolite is done by checking out the gitolite-admin repo and then pushing configuration changes onto it. To clone the configuration onto the local machine:
git clone gitolite3@brokoko.eu:gitolite-admin