Separate revision identity from release names
How commit identifiers, protected release tags, and artifact references preserve provenance across environment promotion, rollback, and history retention. · advanced
A commit identifier identifies a Git commit object, including its tree, parent references, and commit metadata. Changing that object produces a different identifier. Record the full identifier in release records: abbreviated identifiers can become ambiguous as a repository grows. A commit identifier establishes identity, not approval or author authenticity.
A release tag gives a revision a durable human-readable name, but Git tag references can be moved or deleted. Protect release tags on the authoritative remote against unauthorized creation, replacement, and deletion; branch protection alone does not protect tags. For an annotated tag, record the commit it ultimately resolves to, not just the tag object's identifier. A signed tag adds verifiable signing evidence under your trust policy, but does not prevent someone from replacing or deleting the reference. Protection, signature verification, and recording the resolved commit solve different problems.
| Mechanism | Establishes | Does not establish |
|---|---|---|
| Full commit identifier | Exact commit identity | Release authorization |
| Protected release tag | Controlled release name | Artifact identity |
| Verified tag signature | Trusted signing evidence | Reference immutability |