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

原文地址:https://www.cnblogs.com/youlanda/p/11419083.html