git - git push 被拒绝:更新被拒绝,因为远程包含您所做的工作提示:本地没有
问题描述
[rejected] master -> master (fetch first)
error: failed to push some refs to 'git@git.wpengine.com:production/<sitename>.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.
当我尝试将更改推送到生产时,我看到了这个错误。我确实尝试了所有建议的可能性,但我仍然遇到这种情况。
不知道是什么导致了这个问题。它是否与将旧分期推到生产中产生问题有关?
坚持了几个小时,任何帮助将不胜感激。
解决方案
推荐阅读
- ios - 如何在我的 UICollectionView 单元格中删除具有透明背景的底部边框线?
- c# - 更改数据中继器中按钮的行为
- javascript - 有线承诺嵌套 .then 处理程序顺序
- python - Doc2Vec 段落向量分布式内存模型 (PV-DM) 未分类
- android - 使用未到达服务器的多部分表单数据改进 POST 请求
- python - Crontab 以特定时间间隔获取脚本列表
- triggers - Sybase 触发器更改 sp_depends 输出
- java - 括号反斜杠防止正则表达式模式匹配
- rdf - 定义相同概念的多个属性
- jquery - 我想在通过 jQuery 生成的每一行上设置不同的函数