Actions

EmSys

Git - Architecture

From EdWiki

Revision as of 09:31, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Architecture

  • Index
    • Stores information about current working directory and changes made to it
  • Object Database
    • Blobs (binary large object files)
      • Stored in .git/objects
      • Indexed by unique hash
      • All files are stored as blobs
  • Trees (directories)
  • Commits
    • One object for every commit
    • Contains hash of parent, name of author, time of commit, and hash of the current tree
  • Tags