Skip to main content

default_repo_source

Function default_repo_source 

Source
pub fn default_repo_source(cwd: Option<&str>) -> Option<String>
Expand description

The repository gh itself would act on, as a remote’s URL or an OWNER/REPO: the one it was told (gh repo set-default, a cloned fork’s parent), else origin’s. cwd is where git -C points.