Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.03 KB

Duh!

GIT - the stupid content tracker

Source

This is a training project to create my own version of Git that I, with inspiration, have named "Duh."

I am following a guide to implement basic commands from Git into my own version during my journey on learning how to program. Over time, I will add more things and experiment.

Available commands:

'init' - Usage: 'duh init' will initialize the existing folder that you are in. 'duh init repo' will create the 'repo' folder and initialize it.


To-Do

  • Impliment repo initialization
  • Add repo_find to identify the repo root
  • Read/Write objects
  • Impliment cat-file
  • Impliment hash-object
  • Read commit history
  • Read commit data
  • Add references (tags, branches)
  • Create the staging area
  • Create the index
  • Add ls-files command
  • Add status command
  • Write to the index
  • Add the rm, add, commit commands

Resources