Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get a reference and the commit SHA it points at — how you read a branch’s current head before building on it. ref is heads/main or tags/v1.0, without the refs/ prefix.
ref
heads/main
tags/v1.0
refs/
import asyncio from charter.packs import github result = asyncio.run(github.git_refs_get.ainvoke({"owner": ..., "repo": ..., "ref": ...}))
repo
github.APP
github.FINE_GRAINED
contents=read
contents=write
owner
string
.git
heads/BRANCH_NAME
tags/TAG_NAME
Was this page helpful?