pub async fn git_slash_create_ref(
configuration: &Configuration,
owner: &str,
repo: &str,
git_create_ref_request: GitCreateRefRequest,
) -> Result<GitRef, Error<GitSlashCreateRefError>>
Expand description
Creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches.