pub fn github_push_remote(repo: &Repo) -> Result<Option<String>>
Expand description
Get the name of the remote repository to push to in the course of creating pull requests.
NOTE: The gh
command-line utility might infer the push remote if only one
remote is available. This function only returns a remote if it is explicitly
set by the user using gh repo set-default
.`