Skip to contents

Get the commit SHA for a given ref

Usage

gh_get_sha(org, repo, ref)

Arguments

org

Character. GitHub organization.

repo

Character. Repository name.

ref

Character. Tag, branch, or SHA.

Value

Character. The full commit SHA.