I tried to push some changes to github using git push origin master
, but after some time it showed an error
fatal: unable to access \'https://gi
The reason is continuous DDoS attack ... https://status.github.com/messages
From here: GitHub - failed to connect to github 443 windows/ Failed to connect to gitHub - No Error
git config --global http.proxy http[s]://userName:password@proxyaddress:port
Where port might be 3128 and userName:password might be your windows login credentials
Try to configure the environment by using:
sudo vim.tiny /etc/environment
Add there:
http_proxy=http://your.proxy.server.address:port
https_proxy=http://your.proxy.server.address:port
ftp_proxy=http://your.proxy.server.address:port
Add proxy setup in the gitconfig file also.
Are you behind a proxy? Check content of C:\Users\[your username]\.gitconfig
and make sure proxy is configured:
[http]
proxy = http://yourproxy.com:8080 //change your settings here
[https]
proxy = http://yourproxy.com:8080 //change your settings here