vc-revert

vc-revert is an interactive autoloaded compiled Lisp function in `vc.el'.

It is bound to C-x v u, <menu-bar> <tools> <vc> <vc-revert>.

(vc-revert)

Revert working copies of the selected fileset to their repository contents.
This asks for confirmation if the buffer contents are not identical
to the working revision (except for keyword expansion).