git: fatal: Could not read from remote repository


问题根源
出现这个问题是因为没有在github账号添加SSH key

解决方法:

1.生成SSH公钥

ssh-keygen -t rsa -C "username"
(注:username为你git上的用户名)

2.查看生成SSH公钥

3.添加SSH公钥到github账号

4.重新提交

原文地址:https://www.cnblogs.com/jianhaoscnu/p/13418999.html