I am using VS 2017 with Github. All developers in our team sync their changes to dev remote branch. We also have staging branch. So whenever we need to deploy new code to UAT we merge dev branch to staging branch and deploy from staging branch.
Today, i accidentally merged dev to staging and then synced staging branch with github. So all changes ended up in remote staging branch in github.
The screen shot below shows history of staging branch. I need to reset all the changes after 6/11/2018 02f35fec ( the highlighted in above pic)
I tried reset option with hard delete. However that only resets local branch. When try to sync to github it pulls all changes back into local branch from remote branch. (VS does not show anything in outgoing changes).
There is also a revert option, but it does not allow bulk revert
Is there anyway to revert or reset all changes after certain point and push to remote branch?
