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

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

commit时出现unresolved conflicts

webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第1张图片

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

 webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第2张图片

 webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第3张图片

重新加入到本地缓存

webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第4张图片

查看状态,解决冲突

webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第5张图片

重新push到远程仓库

webstorm中git——commit时出现can not commit changes due to unresolved conflicts_第6张图片

提交成功

你可能感兴趣的:(笔记,git,git)