Skip to content

adrianaris/gitlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Berkeley CS61B project 2 GITLET

Miniature git written in java.


This project came with testing infrastructure, including make file and 3 test files in /testing/samples + some utility classes for de/serializing to files and reading and writting files.
I've added a bunch of tests of my own for the commands that have given me more trouble, in the same dir.

Detailed spec here

The work I did is what you will find in /gitlet/ respository, main and commit java files.


    How to run:
  1. make
  2. java gitlet.Main [command]:
    1. init
    2. add [filename]
    3. commit [message]
    4. rm [fileName]
    5. find [log message]
    6. log
    7. global-log
    8. status
    9. checkout [fileName]
    10. checkout [commitID, filename]
    11. checkout [branchName]
    12. branch
    13. reset
    14. merge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published