I'm using a Bitbucket repo with 2 others and we develop a small project together. me and another teammate committed changed in the same time and now none of us can commit, because we would have to pull (not just fetch) beforehand, but that would erase our work. I added the other teammate's code into mine so I have the "correctly merged" version on my side, but to commit I would have to erase the other commit.
Question is, how to do that in VS 2015 team explorer?
Edit
Forcing the latest commit to "take over" the branch is also fine. Is there a way to do that?