Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix gitolite for gitlab 3
# GITOLITE 3
sudo -u git -H sed -i "s/\(GIT_CONFIG_KEYS\s*=>*\s*\).\{2\}/\1'\.\*'/g" /home/git/.gitolite.rc
# GITOLITE 2
sudo -u git -H sed -i 's/\(GL_GITCONFIG_KEYS\s*=>*\s*\).\{2\}/\1"\.\*"/g' /home/git/.gitolite.rc
@SaitoWu

This comment has been minimized.

Copy link

commented Oct 24, 2012

PLEASE MAKE SURE:

/home/git/.gitolite.rc file:

# gitolite v2
$GL_GITCONFIG_KEYS = ".*";
# gitolite v3
GIT_CONFIG_KEYS = '.*', 
@Philzen

This comment has been minimized.

Copy link

commented Oct 25, 2012

On FreeBSD those sed commands wouldn't work - just make sure you edit /home/git/.gitolite.rc as advised by SaitoWu above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.