Setting up Gitosis, where to create the repos?
- by ReynierPM
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