A Git reference to identify a specific commit, branch, or tag.
This can be used to describe a commit other than the current HEAD.
HEAD
Common examples:
"HEAD"
"HEAD~1"
"HEAD^2"
"main"
A Git reference to identify a specific commit, branch, or tag.
This can be used to describe a commit other than the current
HEAD
.Common examples:
"HEAD"
: The current commit."HEAD~1"
: One commit before HEAD."HEAD^2"
: Second parent of a merge commit."main"
or any branch name.