Function unstage
Source pub fn unstage(dir: &Path, rel_path: &str) -> Result<(), String>
Expand description
Unstage a path (git restore --staged -- <path>).
§Errors
Returns git’s own stderr on failure (Run H, T540 — see stage’s doc
comment for why).