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
HEAD - CI/CD Glossary DefinitionHEAD: HEAD is the symbolic ref pointing to the current branch (or, when detached, directly to a commit). It m…
Git Ref - CI/CD Glossary DefinitionGit Ref: A git ref is a named pointer to a commit, stored under `.git/refs/` (or in `packed-refs`). Branches,…
Bisect - CI/CD Glossary DefinitionBisect: Bisect (`git bisect`) performs a binary search through commit history to find the exact commit that i…