I've just installed gitolite3 and as a default it creates its "home" /var/lib/gitolite3
I want that folder to be somewhere else like /home/gitolite3.
How do I move it there?
All the references I found around the web turn around a REPO_BASE variable that is nowhere to be found.
Any ideas?
GL_REPO_BASE
is a variable you can set in your ~/.gitolite.rc
file.
By default, it references $HOME/repositories
.
But this isn't related to where you have installed gitolite.
You can install it wherever you want:
git clone git://github.com/sitaramc/gitolite
gitolite/install -ln /path/to/wherever/you/want
gitolite setup -pk yourname.pub
The OP added in the comments below:
I added this line to the
.rc
:
GL_REPO_BASE => "/home/gitolite",
(mind the trailing ',
')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With