直接在远程仓库创建然后在本地$ git pull origin master
$ git pull origin master
换成$ touch README.md在本地创建修改后再commit push上去
$ touch README.md
解决git add README.md 时报错 fatal: pathspec 'README.md' did not match any files
原文:https://www.cnblogs.com/coderzjz/p/12660490.html