下面是我的github shell的会话日志:
C:\Users\Igor\OneDrive\Documents\dbhandler_app [master +258 ~0 -0 | +85 ~23 -269 !]> git commit
U dbinterface/Debug/dbinterface.Build.CppClean.log
U dbinterface/Debug/dbinterface.log
U dbinterface/ReadMe.txt
U dbinterface/database.h
U dbinterface/dbinterface.sln
U dbinterface/dbinterface.vcxproj
U dbinterface/dbinterface.vcxproj.filters
U dbinterface/dbinterface.vcxproj.user
U dbinterface/stdafx.cpp
U dbinterface/stdafx.h
U dbinterface/targetver.h
error: commit is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
C:\Users\Igor\OneDrive\Documents\dbhandler_app [master +258 ~0 -0 | +85 ~23 -269 !]> git merge
error: merge is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
C:\Users\Igor\OneDrive\Documents\dbhandler_app [master +258 ~0 -0 | +85 ~23 -269 !]> git merge --no-commit
error: merge is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.看起来我无法提交,因为我没有合并,但是合并也失败了。
那我该怎么解决呢?
https://stackoverflow.com/questions/37381878
复制相似问题