Skip to main content

restore

Function restore 

Source
pub fn restore<I, P>(paths: I, branch: Option<&str>) -> Result<()>
where I: IntoIterator<Item = P>, P: AsRef<str>,
Expand description

Restore one or more paths from index or optional branch.

ยงErrors

  • git restore command fails.