In this tutorial i’m going to solve this error error: Pulling is not possible because you have unmerged files when i do pull on github then showing error lets solve this below error.
Error :-
error: Pulling 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
Solutions :-
Run below code.
git reset --hard origin/main
git add .
git commit -m "check"
git push