Skip to content

El objeto commit

Un commit apunta a un tree (el filesystem), a un padre (la historia) y a un autor/committer (la atribución); el hash cubre los tres.

graph TD
  C[Commit a1b2c3d] --> T[Tree]
  C --> P[Commit padre]
  C --> A[Autor + committer]
  T --> F1[blob: archivo1.php]
  T --> F2[blob: archivo2.php]
  T --> F3[blob: archivo3.php]
  style C fill:#E8F5E9
  style P fill:#FFF3E0