问题
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://gitee.com/qhr1994/myproject1.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
解决方案
这是由于远程仓库上的md文件不在本地仓库中代码合并即可
$ git pull --rebase origin master
注意:这里的origin填你的
$ git remote
的结果