webstorm中git——commit时出现can not commit changes due to unresolved conflicts

时间:2024-05-22 15:19:01

commit时出现can not commit changes due to unresolved conflicts——“由于未解决的冲突而无法提交更改”

commit时出现unresolved conflicts

webstorm中git——commit时出现can not commit changes due to unresolved conflicts

查看状态 ,发现相同文件add时出现冲突(可能按了自动提交到本地仓库时,按到了哪个选项而出现的问题)

 webstorm中git——commit时出现can not commit changes due to unresolved conflicts

 webstorm中git——commit时出现can not commit changes due to unresolved conflicts

重新加入到本地缓存

webstorm中git——commit时出现can not commit changes due to unresolved conflicts

查看状态,解决冲突

webstorm中git——commit时出现can not commit changes due to unresolved conflicts

重新push到远程仓库

webstorm中git——commit时出现can not commit changes due to unresolved conflicts

提交成功

webstorm中git——commit时出现can not commit changes due to unresolved conflicts