简体   繁体   English

在Visual Studio中使用程序包管理器控制台中的git

[英]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.

相关问题 在 Visual Studio 外使用 NuGet 包管理器控制台运行实体框架迁移 - Using NuGet Package Manager console outside Visual Studio to run Entity Framework Migrations 在Visual Studio的Package Manager控制台中调用用户定义的函数 - Calling user defined functions in Package Manager Console in Visual Studio Visual Studio - 包管理器控制台 - 以编程方式运行命令 - Visual Studio - Package Manager Console - Running commands programmatically 减少Visual Studio nuget程序包管理器中的超时 - Reduce timeout in Visual Studio nuget package manager 无法从安装了Windows的GitHub的Package Manager控制台执行git push - Unable to execute git push from Package Manager Console with GitHub for Windows installed 找不到套件管理员控制台 - Package Manager Console not found 从程序包管理器控制台添加自定义nuget源(PowerShell) - Add custom nuget feed from the Package Manager Console (PowerShell) 从控制台应用程序自动化Visual Studio 2010 - Automating Visual Studio 2010 from a console app 防止Visual Studio在不使用“解决方案管理器”加载项的情况下加载解决方案项目 - Prevent Visual Studio from Loading a Solution Project Without Using 'Solution Manager' Add-In 无法在Visual Studio 2015 Nuget包管理器中安装包“Microsoft.AspNet.Razor 3.2.3” - Could not install package 'Microsoft.AspNet.Razor 3.2.3' in Visual Studio 2015 Nuget package manager
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM