What is the purpose of git notes and how do they differ from commit messages?

Git Hard

Git — Hard

What is the purpose of git notes and how do they differ from commit messages?

Key points

  • Git notes enable attaching extra information to commits.
  • They differ from commit messages in their non-intrusive nature.
  • Commit messages are integral to the commit object.
  • Notes are useful for adding review notes or CI results.
  • They don't modify the commit SHA.

Ready to go further?

Related questions