What does the git commit-graph file do and how does it improve performance?

Git Hard

Git — Hard

What does the git commit-graph file do and how does it improve performance?

Key points

  • Stores parent relationships and generation numbers
  • Enhances performance for git log and merge-base
  • Reduces object database traversals
  • Improves reachability queries

Ready to go further?

Related questions