mito-ds / saga

Version control all the things
7 stars 1 forks source link

Index #20

Closed naterush closed 4 years ago

naterush commented 5 years ago

Adds a legit working index, so when you add files it keeps track of what has been added and what has been changed.

Also fixes up command line parsing. So we have the following functionality:

  1. git init
  2. git add ____
  3. git commit -m "message" (and without -m)
  4. git branch branchname (and without branchname)
  5. git diff
  6. git status
  7. git checkout
  8. git merge

Notably, git merge is broken.