我在我的 Mac 上将源代码树用于我的 git 存储库。我在product.php 中合并了两个有冲突的分支。现在我有以下文件:
product.php.BACKUP.43706.php
product.php.BASE.43706.php
product.php.LOCAL.43706.php
product.php.REMOTE.43706.php
我想将它们与我最喜欢的编辑器合并。为此,我想要一个带有以下注释的文件,我认为这将是 git 的本机行为。
<<<<<<< HEAD:index.html
<div id="footer">contact : email.support@github.com</div>
=======
<div id="footer">
please contact us at support@github.com
</div>
>>>>>>> iss53:index.html
发现于: http: //git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
我怎样才能得到我的合并文件?
非常感谢。