不同分支的同一个文件的所作更改不一致时, 当将其中一个分支合并到主分支时, 报错: content,automatic merge failed
解决一: 1.切换回主分支 2.手工解决主分支内容冲突 3.再次git add commit p.s. 若commit 出现cannot do a partial commit during a merge (合并操作不可部分提交) 则这样: git commit -m "xxxx" -i
解决二: idea集成不存在这个问题