Skip to main content

rename_branch

Function rename_branch 

Source
pub fn rename_branch(old: &str, new: &str) -> Result<()>
Expand description

Rename a branch; git moves its branch.<name>.* config along with it.