Redmine

Making a new git repository

After setting up the git repo manually, and in anyway way you like, you must do these two things, if you want to be able to access it using the git:// protocol:

touch /srv/repos/git/newRepoName/.git/git-daemon-export-ok

and

ln -s /srv/repos/git/newRepoName/.git /var/cache/git/newRepoName.git