I am new to gitolite. I am trying to do a very simple test with gitolite. I have setup my repository called "test_repo". Please note that I have not modified anything else otherthan what I have stated below. I can see this repo in gitweb. This is the repo configuration
repo test_repo
RW+ = @all
Now I want to clone this repo. I have ldap access to server. By my understanding of @all, it should allow me to do this.
when I issue
git clone git@myserver:repositories/test_repo.git
#I know this is wrong. But I just wanted to test as the above did not work
or
git clone git@myserver:test_repo.git
its asking for password. I have followed this guide http://sharadchhetri.com/2013/05/31/how-to-create-own-git-server-with-gitolite-and-gitweb-in-ubuntu/, which does not set a password for git user
When I issue
git clone myname@myserver:test_repo.git
I am getting the following error
fatal: 'test_repo.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I also tired to clone the default repo "test_repo.git". But I am getting the same error.
I also tired this
git clone myname@myserver:/home/git/repositories/testing.git
then cloning is working. But when I do git push -u origin master
some modified files I am getting
error: insufficient permission for adding an object to repository database ./objects
fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
! [remote rejected] master -> master (n/a (unpacker error))
Note: I have not added any user in conf file
Any help is appreciated.