Note this method is useful when you want to trigger Git Sync on demand or when you manage GitHub webhook delivery yourself.
Options
Branch or ref to pull from upstream. Defaults to the repo default branch.
Token TTL for this invocation in seconds.
Ordered per-ref policy rules (
{ pattern, ops? }) embedded in the per-call JWT. First match wins. Python: ref_policies. Go: RefPolicies with type storage.RefPolicyList. See the Branch Protection guide.Response
Returnsvoid. Throws an error if the pull fails or if the repository is not configured for Git Sync.