Reputation: 5586
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?
Upvotes: 5
Views: 5251
Reputation: 468
Use this command line to reconfigure Gitolite3:
dpkg-reconfigure gitolite3
In the second question the system ask you for repository place. There you cant set any location where you want to have gitolite3 repositories files.
Upvotes: 1
Reputation: 1329592
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 ',
')
Upvotes: 4