pub fn prepare(
cache: &Path,
repo: &Path,
creds: &dyn Credentials,
) -> Result<Checkout, Error>Expand description
Fetch the remote’s default branch and check it out in comindly’s worktree, detached, so your folder and branches are never touched. Offline, the last known default branch is used.