<分区>
VS2013 不支持远程 Git 存储库上的 ssh 协议(protocol)。我读过几篇文章,其中 git 客户端所依赖的底层 C 库现在已经添加了 ssh 支持,因此 VS2015 希望现在也支持它。
有人知道是否支持 SSH,如果支持,远程存储库的 URL 格式是什么,因为尝试使用 ssh://
不起作用?
不幸的是,我们必须使用 ssh 协议(protocol)来连接到这个私有(private) git 存储库。
<分区>
VS2013 不支持远程 Git 存储库上的 ssh 协议(protocol)。我读过几篇文章,其中 git 客户端所依赖的底层 C 库现在已经添加了 ssh 支持,因此 VS2015 希望现在也支持它。
有人知道是否支持 SSH,如果支持,远程存储库的 URL 格式是什么,因为尝试使用 ssh://
不起作用?
不幸的是,我们必须使用 ssh 协议(protocol)来连接到这个私有(private) git 存储库。
最佳答案
如“Git support for Visual Studio - Git, TFS, and VS put into Context ”中所述,Visual Studio 使用 libgit2 用于 Git 支持。
而 libgit2 在 2013 年 5 月才获得 ssh 支持(PR 1558,libgit2 v0.19.0+),对于 VS 2013 来说有点晚了。
VS2015 应该包含更新版本的 libgit2,但尚未计划支持 ssh。
参见“Visual Studio 2015 CTP 6 and Team Foundation Server 2015 CTP Released”。
Saeed Noursalehi [MSFT] 4 Mar 2015 4:45 PM #
We have no immediate plans to support SSH
This discussion has been gaining more steam internally.
I don't have a date yet, but it's something we'll take a hard look at in our next round of planning.
关于git - VS2015在git客户端中支持ssh协议(protocol),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30842050/