为什么我的提交中会出现远程跟踪分支的更改?

发布于 2025-01-27 06:16:25 字数 297 浏览 3 评论 0原文

我是新手Git。每当我想提出更改并执行拉动请求时,我都会感到尴尬。当我使用“合并”从主部门更新我的本地分支并尝试进行更改时,当我想将本地更改推入主人时,我合并到分支中的更新出现。并出现在我的拉请请求中,我无法与主分支合并,因为它将共同冲突并重写现有代码。请帮忙

I'm new to Git. and there's something embarrassing that keeps happening to me every time i want to commit my changes and do a pull request. when i update my local branch from master using "merge" and try to commit my changes, the updates which i have merged into my branch appear when i want to push my local changes into the master. And appears in my pull request, which I'm not able to merge with the master branch because it will conflict together and rewrite existing code. Please help
the commits which appear when i want to push my changes

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文