git push -u origin master报错,error: failed to push some refs to 'https://github.com/Youlandawq/Qt.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote c

可能本地readme.md文件不存在,解决方法:

在远程新增一个,然后同步到本地:git pull --rebase origin master

 

 

posted @ 2019-08-27 16:22  一直前行  阅读(236)  评论(0编辑  收藏  举报