I was on a branch where my colleague pushed a couple of commits since my last pull.
Now, git told me to pull first.
I however insisted to push my changes, so I added a --force flag.
Now this branch has my commit as HEAD with no way for me to pull the commits from my colleague, or restore the state before my push.
Is there any way to undo this?