Skip to main content

discard

Function discard 

Source
pub fn discard(repo: &Path, rel_crate: &str) -> Result<()>
Expand description

Revert the crate working tree to the last checkpoint by restoring it from the index (the last accepted state, or the baseline if nothing is accepted yet).