首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我想推github时,抛出这个错误

当我想推github时,抛出这个错误
EN

Stack Overflow用户
提问于 2022-05-05 10:07:07
回答 1查看 66关注 0票数 -2

当我想推github时,抛出这个错误

github

代码语言:javascript
复制
PS D:\projects\assignment-11> git commit -m"fake data removed"
[main d671435] fake data removed
 9 files changed, 80 insertions(+), 71 deletions(-)
 create mode 100644 src/media/no-item.png
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to 'https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-ifty03.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.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-05-05 10:08:45

信息上写着你该做什么。git pull,合并更改,然后合并git push

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72125386

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档