git usage

remote: Repository not found

#

Problem:

1
2
remote: Repository not found
fatal: repository 'https://github.com/MyRepo/project.git/' not found

Solution:

打开凭据管理器(credential manager),删除错误的 git 账户。

#

Problem:

git clone 速度慢

Solution:

1
2
# git clone https://github.com/...
git clone https://github.com.cnpmjs.org/...