GitSharp cannot find cloned bare repository
I have created a bare clone of a Git repository and placed it on a shared network drive. I am trying to open this bare repository from GitSharp.
I used the following command to clone the repository:
$ git clone --bare my_project my_project.git
With GitSharp I can open the repositor开发者_Python百科y on the shared network drive without a problem. However if I attempt to connect to the cloned bare repository (on the same server), GitSharp cannot find the repository. The cloned repository is shared just as the original is.
var git_url = Repository.FindRepository(p); // where 'p' is the path to the shared bare clone.
The above returns the git url if I connect to the orginal repository but it returns NULL if I attempt to connect to the clone.
Any ideas?
Thanks!
精彩评论