I have made bad commits in the github and i want to do the following things:
- checkout to an old commit from a different branch than master
- make this commit my last commit(delete those after this)
- make this branch as master branch and delete all the others branches
- merge master branch to a new one
Is it possible to do this?