Cisco interview question

How would you revert the last commit without deleting the changes?