Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 926 Bytes

File metadata and controls

19 lines (18 loc) · 926 Bytes

Minimal Git-like VCS Task Breakdown

  • Implement minimal object database.
  • Create .git directory layout generator.
  • Implement SHA-1 hashing for blob storage.
  • Store file snapshots as blobs.
  • Implement tree objects for directory structures.
  • Implement commit objects referencing trees and parents.
  • Implement refs system (HEAD, branch pointers).
  • Implement checkout mechanism writing tree to working directory.
  • Implement staging area index.
  • Implement diff engine between index and working directory.
  • Implement add command updating index.
  • Implement commit command writing tree+commit.
  • Implement branch creation and switching.
  • Implement log traversal.
  • Implement merge with three-way diff.
  • Implement packfile writer/reader.
  • Enforce CLI compatibility with git subset.