Using git from Package Manager Console in Visual Studio

做~自己de王妃 提交于 2020-02-02 06:18:10

问题


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.

When I tried git push origin master Studio stops responding. The code were pushed to github.com account. I've noticed that ssh-* applications were fired and start hanging in system memory, so I switched to https authentication. But the Studio still not responding (and there is no ssh related stuff in memory).

Does anybody knows how overcome this issue?


回答1:


Any reason that you can't drop down to MSysGit and use the package manager, along with git, from there? That would be my approach. Plus you get all benefits of bash.




回答2:


Do you have your github account setted on generic credentials in windows credential manager?

I'm using Git on my Nuget Package Manager for a while now with the credentials saved on windows without any problem. I use also posh-git on my Package Manager that help me a lot.



来源:https://stackoverflow.com/questions/12862891/using-git-from-package-manager-console-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!