github / VisualStudio

GitHub Extension for Visual Studio
https://visualstudio.github.com
MIT License
2.38k stars 1.2k forks source link

Pushing/Pulling behind a proxy #53

Open SamirHafez opened 9 years ago

SamirHafez commented 9 years ago

I can actually login behind a proxy unlike #52 but my problems start after that. As this is something that happens globally with git commands (not just via the GitHub for Visual Studio) I'm not sure if this belongs here as it might just be my fault for not setting the global proxy in the git configuration. Having said that, it would be nice to have options for setting git http.proxy and https.proxy flags from the extension.

shana commented 9 years ago

Yes, it looks like there's no way inside Visual Studio to set up this information :disappointed: It would definitely be nice to have a way of setting up proxy information, I'll add it to the todo list.

shana commented 9 years ago

/cc @clboles @mtbandolier @acangialosi for insight on how to do this better.

SamirHafez commented 9 years ago

Perhaps you could set the proxy globally as you do with the email, something like mapping textboxes to:

git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080 git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080