Thats not the same kind of rewriting history because its local to you and hasn't yet been pushed out to others.
Git allows you to push commits to other people and then rewrite history, which is different
Git allows you to push commits to other people and then rewrite history, which is different
I knew that pushing a rewritten history was possible, but I can't think of any situation where I would ever want to do that.