Hello, I have looked through the related questions here, but there seems to be something more that I am missing / not understanding. I have a git app setup at /home/myuser/webapps/git, and a redmin application running at /home/myuser/webapps/redmine. Both are working fine. In the project settings of my redmine project I would like to connect a git repo. I have created the repo with "git init --bare reponame.git" and in remine I have added the path to the repo "/home/myuser/webapps/git/repos/reponame.git". But when I try to connect through the redmine webinterface redmine displays an error: "404 The entry or revision was not found in the repository." Any tips would be greatly appreciated, thanks in advance, Alex asked 14 Feb '15, 13:12 alexgustafson |
There is some info in the redmine forum on this, try cloning the repo with the --bare flag. answered 14 Feb '15, 22:15 johns Yes, that did it. Thanks for the answer. When i tried with "git init --bare reponame.git" I got the error, but when I cloned a previously existing repo using the --bare flag everything worked as expected thanks. Still not sure why initializing a new repo doesnt work. note: in my question i had typed --base. That was a typo, I meant --bare. I will edit my question.
(15 Feb '15, 10:13)
alexgustafson
|