Skip to main content

GitRemote

API reference​

A named reference to a remote Git repository.

Implements Node

id: ID!

A unique identifier for this GitRemote.

name: String!

The remote's name.

repository: GitRepository!

Access this remote's repository using its fetch URL and the caller's credentials, or the source's existing capability for this exact destination.

HEAD is the remote's HEAD, independent of the workspace's selected commit. Remote registration alone does not grant credentials.

References

Returned by