简体   繁体   English

Visual Studio 2013和Github

[英]Visual Studio 2013 and Github

I just learned about source control and tried using it - so I activated for a project via VS2013 and it works locally, but then I tried to set up a repository at GitHub.com. 我刚刚了解了源代码管理并尝试使用它-因此我通过VS2013激活了一个项目,该项目可在本地使用,但是后来我尝试在GitHub.com上建立一个存储库。 I used the default settings, which means https type connection (there is only https or ssh), but when I copied the url of the repo to VS to publish to it, VS showed the following error: "An error occurred while sending the request". 我使用默认设置,这意味着https类型的连接(只有https或ssh),但是当我将仓库的URL复制到VS进行发布时,VS显示了以下错误:“发送请求时发生错误”。 I looked it up and almost all guides refer to opening a repo with an https type connection but there is no longer such option at gitHub.com, and I found the following article from Microsoft http://blogs.msdn.com/b/phkelley/archive/2013/10/20/git-network-operations-in-visual-studio-2013.aspx which explains why the error occurs and that some certificate needs to be added but I don't know how. 我查了一下,几乎所有指南都提到了使用https类型连接打开存储库,但是gitHub.com上不再有这样的选项,我从Microsoft http://blogs.msdn.com/b/找到了以下文章phkelley / archive / 2013/10/20 / git-network-operations-in-visual-studio-2013.aspx解释了为什么会发生错误,并且需要添加一些证书,但我不知道如何。 So my question is: is this the issue and how to solve it, or is there another way to use VS to upload the repo online to github.com or to some other place. 所以我的问题是:这是问题吗?如何解决?还是有另一种使用VS的方式将存储库在线上传到github.com或其他地方。

Also - as I only stared using VS2013 for source control - are there third party extensions that give a better experience for source control in VS2013 or is the built it git support the best it gets? 另外-正如我只盯着VS2013进行源代码控制一样-是否有第三方扩展程序可以为VS2013中的源代码管理提供更好的体验,或者它是git支持的内置功能?

Also are there third party extensions that give a better experience for source control in VS2013 or is the built it git support the best it gets? 是否还有第三方扩展可以为VS2013中的源代码控制提供更好的体验,还是内置的git支持它能获得最好的支持?

Default git support in vs2013 is not very good and easily understandable even for an experienced git user :-( vs2013中的默认git支持不是很好,即使对于有经验的git用户也很容易理解:-(

I highly recommend to use one if the 3 tools: gitextensions, sourcetree or github client. 我强烈建议使用以下三种工具之一:gitextensions,sourcetree或github客户端。

The support of git in VS 2015, even with the github extension, even if it's better, is not enough... 即使在github扩展的支持下,即使在VS 2015中git的支持(即使更好)也不够...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM