Testing and Deployment
Which Git value should deployment records capture to identify the exact source revision used for a build?
Show the answer
Correct answerD. Commit ID
AWhy not this: A repository URL identifies the repository location, not a particular revision.
BWhy not this: A remote name is a local alias for a repository connection, not a source revision.
CWhy not this: A branch name can point to different commits as development continues.
DWhy this is right: A commit ID identifies the specific revision from which the build was produced.
A commit ID identifies a specific source revision. A branch name is a movable reference and can point to a different commit after subsequent changes.