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

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

问题描述

因此,在刚刚发布的 Visual Studio 2015 中,与 git 的集成度更高.

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

然而,似乎缺少的功能是通过 SSH 的 git.2013 年有各种插件允许此功能(即 GitExtensions),但我在 2015 年看不到任何插件.

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 插件似乎只适用于 GitHub 而不是通用的 git 存储库.

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

我不是在寻找哪个更好的意见,只是一些示例或文章,看看是否有人在 Visual Studio 2015 上使用 Git+SSH.

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.

推荐答案

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

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

这是令人遗憾的,但有几个原因导致此功能尚不可用:简而言之,在我们看来,提供 SSH 不安全 是比根本不提供 SSH 更糟糕,我们非常有信心我们提供的任何 SSH 实施都是高质量的.

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.

也就是说,我们正在努力并取得进展.微软将开始包括 Windows 中的 OpenSSH(并且是那个非常好的项目的赞助商).但是,我无法对何时可以获得支持做出任何预测.

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.

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

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.

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

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