Skip to main content

write_head_symref

Function write_head_symref 

Source
pub fn write_head_symref(
    git_dir: &Path,
    branch_ref: &str,
) -> GitProjectionResult<()>
Expand description

Write HEAD as a symbolic ref pointing at branch_ref (e.g. refs/heads/main) via sley’s ref backend.