Skip to main content

resolved_default

Function resolved_default 

Source
pub fn resolved_default(config_lines: &str) -> Option<Result<String, String>>
Expand description

What gh takes as the default repository, from the lines of git config --get-regexp '^remote\..*\.gh-resolved$' (gh repo set-default, and a fork cloned with gh repo clone): Ok(OWNER/REPO) as set, Err(remote) for “the repository of that remote”.