[英]Using git from Package Manager Console in Visual Studio
I'm trying to use git
from Package Manager Console window in Visual Studio 2010. And most git
commands running as expected, except network-related. 我试图用git
在Visual Studio 2010和大多数从包管理器控制台窗口git
正在按预期运行命令,除了网络相关。
When I tried git push origin master
Studio stops responding. 当我尝试git push origin master
停止响应。 The code were pushed to github.com account. 代码被推送到github.com帐户。 I've noticed that ssh-*
applications were fired and start hanging in system memory, so I switched to https
authentication. 我注意到ssh-*
应用程序被触发并开始挂在系统内存中,所以我切换到https
身份验证。 But the Studio still not responding (and there is no ssh
related stuff in memory). 但是Studio仍然没有响应(并且内存中没有与ssh
相关的东西)。
Does anybody knows how overcome this issue? 有谁知道如何克服这个问题?
Any reason that you can't drop down to MSysGit and use the package manager, along with git, from there? 你有什么理由不能下载到MSysGit并从那里使用包管理器和git? That would be my approach. 那将是我的方法。 Plus you get all benefits of bash. 另外,你可以获得bash的所有好处。
Do you have your github account setted on generic credentials in windows credential manager? 您是否在Windows凭证管理器中设置了通用凭据上的github帐户?
I'm using Git on my Nuget Package Manager for a while now with the credentials saved on windows without any problem. 我现在在我的Nuget包管理器上使用Git一段时间,保存在Windows上的凭据没有任何问题。 I use also posh-git on my Package Manager that help me a lot. 我在我的软件包管理器上也使用了posh-git来帮助我很多。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.