I have MSVS 2013 + git 1.8.4 + git-extensions 2.47.3 on local machine and gitolite 2.3-1 on remote server
I could clone commit and push my project (git@server.example.com:testproject) by console tools and via git-extension GUI
But I couldn't do the same from "Team Explorer" in MSVS. Even if I clone it manually (by console tool) and add as local repository to MSVS Team Explorer, I can't commit or push, because
An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error). This transport isn't implemented. Sorry
Everything I found related is about TFS or local git integration.
Same with github project.
Is it even possible to make it work? By some console hooks or something like that?
As a workaround, I use git command prompt (invoked by clicking Open Command Prompt in Action dropdown on Team Explorer).
It already opens in the git repo directory, so pushing (after you have committed your changes locally) is as fast as invoking the command prompt and executing
git push
command, not much effort over clicking Sync. :)The "Team Explorer" uses the Git integration added with Visual Studio 2013.
See "Clone a remote Git repository from a third-party service".
With that Git native integration in Visual Studio, only https is supported.
Ssh isn't yet supported.
This MSDN blog post stated in October 2013:
Update Oct. 2015:
However, as Vladimir Koltunov mentions below,
libgit2
is starting (Q4 2015) to be built (for VS 2015) with ssh support in projectPROGrand/git2-msvstfs-ssh-patch
.For Visual Studio 2015 it is possible to build SSH enabled version.
https://github.com/PROGrand/git2-msvstfs-ssh-patch
I got this same message when the user had his repository mapped to a network drive & that drive wasn't mapped. So the only transports available (at least as of VS 2013) are http(s) and a filesystem, but if you use the filesystem and the drive isn't available, libgit tells you it doesn't support the transport.