我习惯于从我的机器执行git push到git存储库。
然后在远程服务器中,我从同一个git存储库中执行git pull。
今天,一个受过精神挑战的人已经搞乱了服务器中的文件。
git pull origin master
U index.html
U static/css/app.css
M static/js/app.js
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'
我尝试了一切。 Git重置,git硬重置,git rm这些文件,手动删除这些文件。我该如何轻松解决这个问题?我需要从主人那里拉出来,我已经迟到了。
提供的链接中的解决方案不清楚/不起作用。