- Right-click commit before all of the changes you want to revert [from head of branch]
- Select ‘reset current branch to this commit’ from context menu
- Select ‘mixed’ from dropdown
- Branch. New branch will have nothing to pull.
- Stage the changes you want to keep and commit
- Delete repository e.g. rm -rf myrepo
- No seriously it’s ok, just delete everything.
- Clone from SourceTree or git clone <repository.git> .