+ephemeral namespace. Refs that you push through
this URL do not mirror to an upstream host. They remain separate from refs in the default namespace.
Options
Array of permissions. Defaults to
["git:read", "git:write"]. Accepts git:read, git:write,
repo:write, and org:read. See Authentication for what each scope
grants.Ordered ref policy rules (
{ pattern, ops? }). Code Storage uses the first rule that matches the target ref.Code Storage stores an ephemeral branch under refs/namespaces/ephemeral/refs/heads/. A plain
refs/heads/* pattern does not match it.Use a complete namespaced pattern or *. Use ref_policies in Python. Use RefPolicies with
storage.RefPolicyList in Go.See getRemoteURL() for operations. See
Ref Policies for patterns.Repo-wide policy ops. The gateway folds them into a catch-all
* rule on verify. Use
refPolicies instead. See Ref Policies.Response
Returns astring containing the HTTPS Git remote URL with embedded JWT authentication:
Usage
Use the URL as a standard Git remote. Push and fetch work with ordinary Git commands:The remote advertises ephemeral refs only. It does not show refs from the default namespace. The
normal repository remote does not show ephemeral refs.