When cherry-picking a commit, Git creates a new commit with a different ________ even if the content is the same.

  • Hash
  • Branch
  • Message
  • Timestamp
When cherry-picking a commit in Git, it generates a new commit with a different hash to maintain uniqueness, even if the content is identical. The hash is a cryptographic checksum of the commit, and altering the commit creates a new hash.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *