git.exe push --progress “origin“ master:master 错误 代码提交失败

本文记录了一次在Git中遇到的推送失败问题,由于远程分支存在更新,需要先拉取并解决合并冲突。尝试使用`git pull origin master`和`git pull --rebase origin master`命令,但遇到了未合并的文件。最终通过手动解决冲突并提交,成功完成了代码推送。
部署运行你感兴趣的模型镜像

git.exe push --progress “origin” master:master 错误 代码提交失败

起因——同事拉取我的代码后更改再上传 我拉取失败 修改后提交也失败 报错如下

git.exe push --progress “origin” master:master 错误

在这里插入图片描述

尝试方法—— 输入两命令git pull origin master ,执行完成再输入git push -u origin master

在这里插入图片描述

error: failed to push some refs to ‘https://gitee.com/zyfs_company/huishua_uniapp_e-cigarette_customer.git’
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: ‘git pull …’) before pushing again.
hint: See the ‘Note about fast-forwards’ in ‘git push --help’ for details.

错误:无法将某些引用推送到’https://gitee.com/zyfs_company/huishua_uniapp_e-cigarette_customer.git’

提示:更新被拒绝,因为当前分支的提示已过期

提示:它的远程对应。集成远程更改(例如。

提示:“git pull…”),然后再推。

提示:有关详细信息,请参阅“git push–help”中的“Note about fast forwards”。

尝试拉取

git pull --rebase origin master
在这里插入图片描述

error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm ’
hint: as appropriate to mark resolution and make a commit.

错误:无法拉取,因为您有未合并的文件。

提示:在工作树中修复它们,然后使用’git add/rm’

提示:根据需要标记解析并进行提交。

最后解决冲突 提交成功

纯属记录 可参考性不高

您可能感兴趣的与本文相关的镜像

AutoGPT

AutoGPT

AI应用

AutoGPT于2023年3月30日由游戏公司Significant Gravitas Ltd.的创始人Toran Bruce Richards发布,AutoGPT是一个AI agent(智能体),也是开源的应用程序,结合了GPT-4和GPT-3.5技术,给定自然语言的目标,它将尝试通过将其分解成子任务,并在自动循环中使用互联网和其他工具来实现这一目标

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值