Skip to content
Latchkey

Commit-ish - CI/CD Glossary Definition

A commit-ish is anything Git can resolve to a commit: a full or short SHA, a branch, a tag, HEAD, or a relative expression like HEAD~2 or main@{yesterday}. Commands that take a commit accept any commit-ish.

A commit-ish is anything Git can resolve to a commit: a full or short SHA, a branch, a tag, HEAD, or a relative expression like HEAD~2 or main@{yesterday}. Commands that take a commit accept any commit-ish.

A commit-ish is anything Git can resolve to a commit: a full or short SHA, a branch, a tag, HEAD, or a relative expression like HEAD~2 or main@{yesterday}. Commands that take a commit accept any commit-ish.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →