Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 342 Bytes

File metadata and controls

11 lines (7 loc) · 342 Bytes

commit command

things to do:

  1. Create a tree object(s) from the worktree

  2. Serialize the tree object

  3. Create the commit message -- need to know the parent commit hash --> have to use HEAD to store the id of last commit -- Create the new commit message and store the id of current commit in HEAD after serializing