Project

General

Profile

GIT repository setup

Added by Mauro Condarelli about 9 years ago

Hi,
I need to setup a local master repository on a brand new (2.6.1) Redmine installation.
I am not cloning something on github or anything similar; ths is the naster "remote".

I tried to follow instructions in the manual, creating the repo with:

git init --bare myproject.git

but that doesn't look good because, accessing this fromo somewhere else I get:

bash-3.2$ git clone git://myredmine/srv/repos/git/myproject
Cloning into 'myproject'...
fatal: remote error: access denied or repository not exported: /srv/repos /git/myproject
bash-3.2$

AND Redmine complains (this might be ok because the repo is still completely empty):

404
The entry or revision was not found in the repository.
Back

What am I doing wrong?