Skip to main content

git_reset

Function git_reset 

Source
pub fn git_reset(repo_path: &Path, paths: &[PathBuf]) -> Result<GitResetResult>
Expand description

Unstage files from the index.

If paths is empty, unstages all files (like git reset HEAD).