I have a repository on a network web server:
http://rene:9095/git/TestGit.git
When I try to open it from C# code with libgit2sharp
it throws the following exception:
**Excepcion:** Path 'http://rene:9095/git/TestGit.git' doesn't point at a valid Git repository or workdir.
**InnerException:**
The code I use and which causes the Exception
:
Repository repo = new Repository(
"http://rene:9095/git/TestGit.git",
new RepositoryOptions()
);
The repository works fine with SourceTree or TortoiseGIT but not with the code. I've Cloned it using Repository.Clone() and works fine too.
Do you have any idea why the repository throws invalid rep?
Thanks in advnace!!
Nico.