Setting up Gitosis, where to create the repos?

Posted by ReynierPM on Server Fault See other posts from Server Fault or by ReynierPM
Published on 2012-06-25T20:05:36Z Indexed on 2012/06/25 21:17 UTC
Read the original article Hit count: 219

Filed under:
|
|
|

I'm trying to setup Gitosis on CentOS 6.2 but have some doubts/problems about it. I read this docs here, here and here but it's unclear to me where to configure where repositories are created. My server has a partition /data where I create a directory and called /gitrepos. I want all the repos created under that directory. By default if I run the command:

gitosis-init < /home/reynierpm/reynierpm.pub

I get this

Initialized empty Git repository in /root/repositories/gitosis-admin.git/

Reinitialized existing Git repository in /root/repositories/gitosis-admin.git/

And I want this repos created under /data/gitrepos, any help?

Thanks in advance

© Server Fault or respective owner

Related posts about centos

Related posts about git