VS2015支持git客户端中的ssh协议 [英] VS2015 support for ssh protocol in git client

查看:355
本文介绍了VS2015支持git客户端中的ssh协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS2013不支持远程Git存储库上的ssh协议。我已经阅读了一些文章,其中git客户端依赖的底层C库现在已添加了ssh支持,因此VS2015现在也希望支持它。

有谁知道SSH是否受支持,如果是,请尝试 ssh://远程存储库的URL格式是什么



不幸的是,我们必须使用ssh协议连接到这个私人git存储库。


<正如在 Git支持Visual Studio - Git中提到的那样, TFS和VS放到Context 中,Visual Studio使用 libgit2 来支持Git。



而且libgit2仅在2013年5月获得了ssh支持( PR 1558 a>, libgit2 v0.19.0 + ),VS 2013的时间稍晚。



VS2015应包含更新版本的libgit2,但ssh支持尚未计划。

请参阅 Visual Studio 2015 CTP 6和Team Foundation Server 2015 CTP发布


Saeed Noursalehi [MSFT] 2015年3月4日4:45 PM#



我们暂时没有计划支持SSH


有待解决的问题


这个讨论在内部获得更多蒸汽。

我还没有日期,但是我们会在下一轮计划中仔细考虑。



VS2013 had no support for ssh protocol on remote Git repositories. I have read a few articles where the underlying C lib that the git client relied on has now had ssh support added and thus VS2015 hopefully now supports it too.

Does anybody know if SSH is supported and if so, what is the format for the URL for the remote repository since attempting with ssh:// does not work?

Unfortunately we have to use ssh protocol for connection to this private git repository.

解决方案

As mentioned in "Git support for Visual Studio - Git, TFS, and VS put into Context", Visual Studio uses libgit2 for Git support.

And libgit2 only got ssh support in May 2013 (PR 1558, libgit2 v0.19.0+), a bit late for VS 2013.

VS2015 should include a more recent version of libgit2, but ssh support wasn't yet planned.
See "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

There is 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.

这篇关于VS2015支持git客户端中的ssh协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆