Setting Up Github for Windows behind a Proxy Server

Thanks to: https://medium.com
Here is a simple method to let Git pass through your server proxy and hopefully allow you to complete repository cloning.
  1. Upon the installation of Github for Windows, a configuration file is automatically created and stored in C:\Users\<your computer username>\.gitconfig — Open this file using any text editor. I recommend notepad++.
  2. Edit the .gitconfig file to include calls for proxy registration — HTTP and HTTPS
An image showing the edits made to the .gitconfig file for it to pass through a server proxy
This handy website determines what your company’s/institution’s proxy address is. After the proxy address, you need to provide the port to which your institution sets up the proxy to pass. *note the colon in between*.
By default, this port value is set to 8080. However, due to security reasons and channel availability this may be changed to some other value. You may ask for this information from any of the system administrators in your company.
AND THAT’S IT!
Marvel in awe as your online repository finally completes its cloning procedure.
Did it work? Great! Congratulations ☺

Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

How to Fix Failed to Connect a Hyper-V Standalone to Veeam Backup