git - VS2015在git客户端中支持ssh协议(protocol)

标签 git ssh visual-studio-2015

<分区>

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 1558libgit2 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

an issue pending .

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/

相关文章:

git - svn2git:无法设置跟踪信息

MySQL 数据源未显示在 Visual Studio 2015 中

list - 为什么 Seq.tail 不是一个选项

sql-server - 如何在VS 2015中调试存储过程?

asp.net-mvc - Jenkins 根据多个项目中的提交触发构建

git - 半线性 merge

git cherry-pick 或从另一个分支 merge 特定目录

git - 在window服务器上通过ssh执行git pull命令永远挂起

django - 保护 EC2 Amazon Marketplace AMI 上的文件夹

git - 由于 ssh 和 https 连接的私有(private) git 存储库,npm 安装失败