Skip to main content

discard_all_changes

Function discard_all_changes 

Source
pub fn discard_all_changes(repo_path: &Path) -> Result<(), String>
Expand description

Discard all staged, unstaged, and untracked changes in the repository.