Function create_branch
Source pub fn create_branch(_path: &Path, _branch_name: &str) -> Result<()>
Expand description
Creates a new git branch.
§Parameters
path: The path to the git repository.
branch_name: The name of the new branch.
§Returns
Ok(()) if the branch was created successfully.
Err(Error) if an error occurred during branch creation.