Git(SSH)在Visual Studio 2015中 [英] Git (SSH) in Visual Studio 2015

查看:122
本文介绍了Git(SSH)在Visual Studio 2015中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,随着Visual Studio 2015刚刚发布,与git的整合更为紧密。

然而,似乎缺乏的功能是SSH上的git。 2013年有不同的插件允许这个功能(即GitExtensions),但在2015年我看不到任何插件。



GitHub插件只能用于GitHub,而不是通用的git回购。

我并不是在寻找哪种更好的意见,只有一些例子或文章才能看到任何人在Visual Studio 2015上运行Git + SSH。

解决方案

没有。 Visual Studio 2015(RTM)不支持Git远程的SSH。即使使用GitHub插件的GitHub存储库也是如此(目前,它使用与Git仓库相同的连接机制,与使用Team Explorer的其他Git仓库相同)。

<这很令人遗憾,但有一些原因为什么还没有提供:简单的回答是,在我们看来,提供SSH 不安全会更糟糕比根本不提供SSH,我们希望能够非常有把握地确信,我们提供的任何SSH实施都是高质量的。

也就是说,我们正在研究它并取得进展。微软将开始包括 Windows中的OpenSSH (并且是该​​非常好的项目的赞助商)。不过,我无法预测何时可以获得支持。



GitHub扩展是开源的,所以有可能它可以使用不同的连接机制,并在团队资源管理器中的核心Git支持之前开始支持SSH。


So with Visual Studio 2015 just being released there is a much more integrated tie-in with git.

However the feature that seems to be lacking is git over SSH. There are various plugins for 2013 that allow this functionality (i.e GitExtensions) but I can't see any with 2015.

GitHub plugin only appears to work with GitHub and not generic git repos.

I'm not looking for an opinion of which is better, only some examples or articles to see if anyone has got Git+SSH on Visual Studio 2015 working.

解决方案

No. Visual Studio 2015 (RTM) does not support SSH for Git remotes. This is true even with GitHub repositories using the GitHub plug-in (which - at present - uses the same connection mechanism for Git repositories as any other Git repository using Team Explorer.)

This is regrettable, but there are a handful of reasons why this is not available yet: the short answer is that in our opinion, providing SSH poorly or insecurely is worse than not providing SSH at all, and we would like to be very confident that any SSH implementation we provide is of high-quality.

That said, we are working on it, and making progress. Microsoft is going to begin including OpenSSH in Windows (and is a sponsor of that very fine project). However I cannot make any predictions as to when support might be available.

The GitHub extension is open source, so it's possible that it may be able to use a different connection mechanism and begin supporting SSH before the core Git support in Team Explorer.

这篇关于Git(SSH)在Visual Studio 2015中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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