Skip to main content

stage

Function stage 

Source
pub fn stage(dir: &Path, rel_path: &str) -> bool
Expand description

Stage a path (git add -- <path>). Returns whether the command succeeded.