解决Git - git push origin master 报错_Git

原因:github仓库中没有README.md文件

解决如下:
 
重新输入git push -f 或者 git pull --rebase origin master 
git push -u origin master
 

错误提示如下:

[root@linux1 php]# git push -u origin master
 
hint: See the 'Note about fast-forwards' in 'git push --help' for details.