MS Visual Studio + gitolite or github via ssh

后端 未结 4 502
甜味超标
甜味超标 2021-02-05 14:31

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.co

4条回答
  •  日久生厌
    2021-02-05 15:03

    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.

    http://i.msdn.microsoft.com/dynimg/IC698706.png

    This MSDN blog post stated in October 2013:

    As of this writing, Visual Studio 2013 does not have support for ssh-based remotes.
    If you have a Git remote that uses SSH and you try to perform a network operation in Visual Studio, you’ll get the message “This transport isn’t implemented. Sorry.” (This message comes from the libgit2 library.)
    I don’t have a timeline for when support for SSH remotes might be implemented in Visual Studio.


    Update Oct. 2015:

    However, as Vladimir Koltunov mentions below, libgit2 is starting (Q4 2015) to be built (for VS 2015) with ssh support in project PROGrand/git2-msvstfs-ssh-patch.

    This patch for 'libgit2' allows usage of SSH public/private keys pair with ssh repositories (such as gitolite) in Visual Studio 2015

提交回复
热议问题