pub fn switch(
repo: &Repository,
branch: &str,
force: bool,
) -> Result<SwitchOutcome>Expand description
Switch HEAD to another branch, restoring its files. Refuses a dirty working
tree unless force.
pub fn switch(
repo: &Repository,
branch: &str,
force: bool,
) -> Result<SwitchOutcome>Switch HEAD to another branch, restoring its files. Refuses a dirty working
tree unless force.