I pull a branch (let's say issue-100) from origin for review and after review I switched to local dev branch without modifying this issue-100 branch. There are some conflicts with this branch, but I did not touch it and just create a new branch after pulling dev branch from origin. But, interestingly, Git gives "Automatic merge failed; fix conflicts and then commit the result." messages. I just followed these steps:
git checkout dev
git pull origin dev
--> gives error, then I abort merging in IntelliJ
git branch
git branch -D issue-100
git checkout dev
git pull origin dev
--> gives error, then I abort merging in IntelliJ
So, I did not push issue-100 to origin, but it gives error. How should I fix this problem?