Setting Up Proxy for Git

git config --global http.proxy http://user:password@proxyserver:proxyport

Replace:

  • user: your proxy username
  • password: your proxy password
  • proxyserver: the proxy server URL
  • proxyport: the port number on the proxy server

To stop using the proxy:

git config --global --unset http.proxy



Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • Satu EFI untuk Dua Operating System (Ubuntu 24.04 dan Windows 11) pada dua disk yang berbeda
  • Akses internet ITS melalui myITS-WiFi di Ubuntu
  • Menampilkan Label LaTeX di Matplotlib