出现代码冲突时,先
1.stash changes重要:Git stash的使用
比如起名叫finish

2.在idea的terminal处输入指令
重要:Git stash的使用

git stash list,可以看到[email protected]{0}: On Develop :finish
3.我们Pull好代码后就可以进行以下操作:
4.git stash apply [email protected]{0}
然后保存的代码就会回来了
5.如果此时还出现冲突,就右击冲突的文件,resolve conflicts就OK了

相关文章:

  • 2021-08-26
  • 2021-07-23
  • 2021-10-14
  • 2021-10-30
猜你喜欢
  • 2021-11-07
  • 2021-04-20
  • 2021-05-28
  • 2021-10-16
  • 2021-09-22
  • 2021-04-26
  • 2021-07-18
相关资源
相似解决方案