Hi Conrad,
I did use the syntax you suggested. Below is the error.
Thanks.
~$ git clone /var/gitosis/repositories/vincentProject.git
Initialized empty Git repository in /home/master/vincentProject /.git/
fatal: failed to open /var/gitosis/repositories/vincentProject.git/objects
I think that’s because the repo belongs to the git user under
gitosis. But I did add my SSH key to keydir folder and add myself to the members
list for this project. I don’t know why git still prevents me from cloning. That’s
why I had to use: git clone git@localhost:vincentProject.git
clonedProject. This works. The only drawback with this method is that it asks
me for my passphrase for my SSH key every time.
Vincent, if you’re using SSH, then you should also be able to access the repository as
follows:
got clone git@localhost/repositories/vincentProject.git
Next, you cannot use a local method of cloning your repository because you’re using
SSH. Thus, you cannot do
git clone /path/to/repositories/vincentProject
However, you may do this if the current user is ‘git’
git clone /repositories/vincentProject.git
Furthermore, you’ll need to learn more about the tools you’re using before you put them into
practice. For example, you should have been fairly comfortable with git basics before adding
a tool like gitosis to the mix. There are many resources to get up to speed with git which include
screencasts. Lastly, I haven’t used gitosis so I will not be able to help you here.
Good luck,
-Conrad
Thanks.
Vincent.
Vincent, you might want to learn more about the IDE