The file might be named differently or place somewhere else depending on your OS and other factors. This will setup your proxy in a global config file in your "MyDocuments" folder. PORT is the port of the proxy, and might be different for http and https.URL is the full domain name of the proxy. is the user name and password if required for your proxy.The git commands in particular you need are: git config -global http.proxy config -global https.proxy The proxy address likely is and not If this does not happen, you can install Git for Windows directly - I would recommend doing that as a part of installing the Git Extensions GUI application, but your mileage may vary. If Git is installed, you can type git at any command line and you'll get a list of all the git commands. In fact, you can open a command or Powershell prompt directly in Visual Studio with Tools/NuGet Package Manager/Package Manager Console. Once Git for Windows (or Git in general on any OS) is installed, you can easily setup the global Git proxy settings directly at any command line, console, or Powershell window. Visual Studio will install Git for Windows as long as you have Git checkmarked during install (the latest versions have this by default). You don't need to setup anything in Visual Studio in order to setup the Git proxy - in fact, I haven't found any way to do so within Visual Studio directly, and the alternate answer on using I was not personally able to get to work. There is not a direct way to set a Git proxy in Visual Studio
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |