ishan: if commit in your local repo, then just `git reset` (maybe w/ --hard), if commit in remote repo, you of course can rewrite the whole branch but more useful is using `git revert` to create new commit which rollback previous one