Skip to main content

went_to

Function went_to 

Source
pub fn went_to(repo: &Path, branch: &str, commit: &str) -> Result<(), Trouble>
Expand description

Cuts a branch at that commit and moves onto it.

A branch of its own and never an existing one. A commit is a version that has already been measured, so arriving at one is arriving to make the next variant — and a checkout that landed on somebody’s branch would put the next commit on the end of a line that was not being extended.