Created
October 24, 2012 13:58
-
-
Save dzaporozhets/3946188 to your computer and use it in GitHub Desktop.
Fix gitolite for gitlab 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
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
PLEASE MAKE SURE:
/home/git/.gitolite.rc
file: