get_default_remote

Function get_default_remote 

Source
pub fn get_default_remote(repo_path: &RepoPath) -> Result<String>
Expand description

tries to find origin or the only remote that is defined if any in case of multiple remotes and none named origin we fail