git报Updates were rejected because the tip of your current branch is behind

原因:本地仓库缺少README.md文件,远程仓库中有
解决办法:
git pull --rebase origin master
git push -u origin master

你可能感兴趣的:(git报Updates were rejected because the tip of your current branch is behind)