Skip to main content

git_discard

Function git_discard 

Source
pub async fn git_discard(repo: &Path, paths: &[String]) -> Result<(), GitError>
Expand description

Discard working-tree changes to the listed paths (equivalent to git checkout -- <paths>).