本文介绍git合并分支时的冲突解决:

1、本地分支 merge 需要合并的分支名

2、解决冲突使用phpStorm代码对比工具

操作步骤:

1、选择导航栏VCS--> Git -->Resolve Conficts

phpStorm 快捷merge合并解决冲突

2、选择后 冲突文件会罗列出来

phpStorm 快捷merge合并解决冲突

3、根据代码的对比选择需要的代码中间的Result是最终合并后的代码

phpStorm 快捷merge合并解决冲突

4、合并后点击右下角Apply使用即可

官网地址:https://www.jetbrains.com/help/phpstorm/2016.3/resolving-conflicts.html

相关文章:

  • 2021-04-06
  • 2022-12-23
  • 2021-06-28
  • 2022-12-23
  • 2021-08-08
  • 2021-05-09
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2021-08-06
  • 2021-11-18
  • 2021-11-16
  • 2021-07-28
  • 2021-07-31
  • 2022-12-23
相关资源
相似解决方案