在 GIT 中使用 p4merge 解决选定的合并冲突

发布于 2024-09-26 13:34:59 字数 279 浏览 1 评论 0原文

有没有办法在 GIT 中使用 p4merge 解决所选文件存在冲突?

假设有 25 个冲突,每个冲突都必须由每个开发人员解决,如果任何开发人员运行“git mergetool”,则设置的 p4merge 从第一个冲突开始。 此冲突可能与开发人员无关,因此我正在寻找一种方法,让开发人员可以使用从 Unix 调用的 p4merge 工具来解决特定的冲突文件。

或者有没有办法让 GIT 显示 $BASE $LOCAL $REMOTE 的版本/提交,以便我可以在 p4merge 的 gui 模式下使用它来解决冲突。

Is there a way to resolve selected file having conflicts using p4merge in GIT?

Lets say there are 25 conflicts and each conflict has to be resolved by each developer, if any developer runs 'git mergetool' the p4merge which is setup starts with the first conflict.
this conflict maynot be related to that developers, so am searching for a way where a dev can resolve a specific conflicted file using the p4merge tool which is invoked from Unix.

Or is there a way for GIT to show the version/commit of the $BASE $LOCAL $REMOTE so that i can use this in the gui mode of p4merge to resolve the conflict.

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

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

发布评论

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