revert in vs code example Example: undo reset commit git git reflog //to get commitID git reset #commitID