nd saves changes made to the working directory
and reverts those changes, resetting the working directory to a clean
state.