I have created a test git repo on Git server:
Which is a 'bare' git repo. The ownership of the files belong to this 'username' user. I can clone the above Git repo, on another Windows machine.
git clone git://myhost/var/cache/git/username/myGitRepo.git
The repo clones correctly. Then I can do local commits and try to push the changes back to my Git server:
git push origin master
But that gives a permission error on the server:
fatal: remote error: access denied or repository not exported: /git/username/myGitRepo.git
I added the magic file '
git-daemon-export-ok' file in the repo dir. But I keep getting the above error.
I even set the
777 of the
Getting same error.
Git remote -v throwing following output.
$ git remote -v origin git://myhost/git/username/myGitRepo.git (fetch) origin git://myhost/git/username/myGitRepo.git (push)
Anyone could help me to get this error resolved?