Visual Studio and libgit2 Git Commit Error In Different Solution

10,184

Unfortunately, Visual Studio Tools for Git do not yet support remote repositories using the SSH protocol, only HTTP and HTTPS.

Investigate the .git/config in each repository to ensure that you did not clone one repository with SSH. If you did, try to switch the remote to an HTTPS endpoint.

Share:
10,184

Related videos on Youtube

Mike Flynn
Author by

Mike Flynn

I am the founder and CEO of Exposure Events. Exposure Events is a tournament and league management system delivering online scheduling and conflict checker, live results, apps, free directory and more.

Updated on September 16, 2022

Comments

  • Mike Flynn
    Mike Flynn over 1 year

    While commiting from Visual Studio got my GIT repo, I get the following error below. It's weird because I have another copy of the project that uses the same repository and that solution commits just fine, same repo and everything. Clues?

    An error occurred. Detailed message: An error was raised by libgit2. Category = Net (Error).
    This transport isn't implemented. Sorry
    

    Also if I go to the folder and do it via another GIT Guid or command prompt it works fine on that same folder.

    • Edward Thomson
      Edward Thomson about 10 years
      Can you post the relevant .git/configs from the two repositories? I suspect that one remote is configured with ssh (which is not supported) and the other is configured with http (which is).
    • jessehouwing
      jessehouwing
      Are you trying to commit files that reside on a network share? LibGit2 doesn't support that, but the commandline does. It's a limitation of the library that Visual Studio uses to communicate to Git.