For a project, I made two commits, pushed them and called a pull request. So now my pull request contains 2 commits. But the two differ greatly and the second one is the correct solution to the issue. I tried
git rebase -i HEAD~2
to squash the 1st commit into the 2nd, but I'm getting conflicts. There are a lot of conflicts since the two versions differ greatly. So, my question is, do I really have to squash the 2 commits into one and spend all that time in resolving the conflicts? Is there some way I can delete the 1st commit from the pull request or tell Github to only consider the 2nd commit?