0

I wanted to push changes to my repository on Github, I used the command, git remote add origin url then tried to push changes using the command git push origin master and I'm getting this error. Please some one help !

I tried both with http and https urls, both giving the same error.Screenshot of the same

riQQ
  • 9,878
  • 7
  • 49
  • 66

1 Answers1

0

This error could be because of firewall or network related. Change your network and try to push the changes.
If any firewall installed in your system try to reinstall it or turn off git access to it.
If you are using windows defender firewall, restart it and try again.

Monali Ghotekar
  • 359
  • 1
  • 7
  • Hey Monali ! Thanks for the answer, Yeah I tried disabling and again enabling windows defender firewall , i don't know if it resolved the issue or not. I was then trying the same with ssh key instead of url but in the middle I tried with url, somehow it worked !! – ANNAPOORNESWARI H P Jan 07 '22 at 12:25
  • If my answer addressed your question, please consider accepting and up-voting it. If not, let me know so that I can improve my answer – Monali Ghotekar Jan 07 '22 at 12:41