gatelineAPI reference
  • Resolve the host's default branch to a commit id, once. The name comes from git.defaultBranch(), the same local ref the registry read has always used (no fetch). It is resolved through its fully qualified ref, so a tag that shares the branch's name cannot stand in for it, and every input read at the returned commit comes from the same snapshot even if the branch moves between reads.

    Parameters

    Returns Promise<HostTip>