Git push takes forever

前端 未结 6 1299
小蘑菇
小蘑菇 2020-12-25 11:36

When I am trying to push to my remote git repository, but it is taking forever and nothing happens. I waited for so long, but push is never getting finished. My OS is Ubuntu

6条回答
  •  天命终不由人
    2020-12-25 12:02

    Every time I reinstall or upgrade Ubuntu (all 3-4 times), I had to go to the DNS settings of my internet connection (both Ethernet and Wifi), remove Automatic and add 8.8.8.8 and 1.1.1.1. After a reset git push and all other git-origin-accessing commands go down from 1 minute to a few seconds.

提交回复
热议问题