git提交出错

输入git push出现错误,可以采用   git push -f  强制推送

mi@DESKTOP-3EN48FH MINGW64 /d/project/future-runmei-mall-h5 (master)
$ git push
To https://gitee.com/bilnn/future-runmei-mall-h5.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://gitee.com/bilnn/future-runmei-mall-h5.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.

 

posted on 2020-11-10 13:38  稳住别慌  阅读(856)  评论(0编辑  收藏  举报