tatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
看字面的意思就是连接超时了,什么原因造成的呢,这个估计是无法连接到远程git服务器, 原因是git服务器要求采用ssh连接,可用如下方法解决:
运行git config –local -e打开配置信息。
修改其中的
url = git@github.com:username/pro.git
为
url = https://username@github.com/username/pro.git
这样就改为使用https协议了。提交什么的就OK了。