GitRef

class github.GitRef.GitRef

This class represents GitRefs.

The reference can be found here https://docs.github.com/en/rest/reference/git#references

delete() → None
Calls

DELETE /repos/{owner}/{repo}/git/refs/{ref}

edit(sha: str, force: Union[bool, github.GithubObject._NotSetType] = NotSet) → None
Calls

PATCH /repos/{owner}/{repo}/git/refs/{ref}