Skip to main content

unset_branch_base

Function unset_branch_base 

Source
pub fn unset_branch_base(branch: &str, verbose: bool) -> Result<()>
Expand description

Clear a branch’s recorded base info (branch.<name>.gwBase and .gwBaseSha).

Each unset is a no-op (not an error) when the key is absent, so callers can clear unconditionally — e.g. gw sync after restacking a branch onto the default branch, where it is no longer stacked.