Skip to content
View ZiyadAli's full-sized avatar

Block or report ZiyadAli

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ZiyadAli/README.md
  • 👋 Hi, I’m @ZiyadAli
  • 👀 I’m interested in MVC .Net Core
  • 🌱 I’m currently learning Angular
  • 💞️ I’m looking to collaborate on !
  • 📫 How to reach me ...

Set and reset proxy for git and npm connection Depending on whether the connection is behind a proxy or not, the proxy settings will need to set/reset correspondingly when using npm and git.

The command to set the proxy are

Set proxy for npm:

npm config set proxy http://proxy:8080 npm config set https-proxy http://proxy:8080

Set proxy for git:

git config --global http.proxy http://proxy:8080 git config --global https.proxy http://proxy:8080

The command to reset proxy for npm npm config rm proxy npm config rm https-proxy

reset proxy for git

git config --global --unset http.proxy git config --global --unset https.proxy

get proxy setting for git

git config --global --list npm config get list npm config get proxy npm config get https-proxy

The command to set proxy for windows 8.1 command line terminal Set proxy for all apps from terminal netsh winhttp set proxy proxy:8083

Reset proxy for all apps from terminal netsh winhttp reset proxy

Show proxy settings netsh winhttp show proxy

Set proxy for windows in pc settings, go to network->prxoy settings to change the proxy settings.

Popular repositories Loading

  1. ZiyadAli ZiyadAli Public

    Config files for my GitHub profile.