Skip to main content

switch

Function switch 

Source
pub fn switch(branch_name: &str) -> Result<(), Box<CmdError>>
Expand description

Checkout a branch or detach HEAD.

ยงErrors

  • git switch command fails.