Skip to main content

checkout_detached_in

Function checkout_detached_in 

Source
pub fn checkout_detached_in(worktree: &Path, commit: &str) -> Result<()>
Expand description

Move an existing worktree’s detached HEAD to commit, without touching any branch.