pub fn mirror(
token: &str,
owner: &str,
repo_name: &str,
private: bool,
repo_path: &Path,
branches: &[String],
out: &mut dyn Write,
) -> Result<()>Expand description
Mirror branches of the bare repo at repo_path to github.com/{owner}/{repo_name},
creating the (private-by-default) GitHub repo first if it doesn’t exist.