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
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-90-1024x120.png)
Solutions :-
Run below code.
git reset --hard origin/main
git add .
git commit -m "check"
git push
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/10/image-92-1024x232.png)