Domanda di colloquio di Cisco

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