I'm sorry for another git post but I've searched a lot and tried everything I saw before this post.
I changed to master from a "dirty" branch without noticing and all the commits merged to master and more.
I want to create a revert commit from a certain commit hash in the past.
For example, my head is 100 commits ahead from commit 'abcdef'. I want from my current head to create a revert which will make my new head same as it was after commit 'abcdef'.
Eventually all needs to be pushed to remote repository (bitbucket)
I used git-reset but it just brings me to the desired point in time, without the revert-commit. Is there a way to force a push of all files. I tried using 'git add -f filename' but when I do git status it is not there as there are no changes from the current head which is 'abcdef'