Skip to main content

remote_default

Function remote_default 

Source
pub fn remote_default(
    repo: &Path,
    creds: &dyn Credentials,
) -> Result<(String, String), Error>
Expand description

The remote’s default branch and its commit, asked from the remote; also records it as origin/HEAD.