Skip to the content.

Git fetch timed out

23 May 2020 - rymoon

不使用http方式,换成ssh方式。

设置ssh密钥。

github-如何设置SSH Key

查看现有的remote:

git remote -v

然后更改remote

git remote rm origin
git remote add origin git@github.com:username/reponame.git
git push -u origin master