Skip to content

lucamienert/Git-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git-Clone

Git Clone written in Go

Functions

  • init – Create a .git/ directory with required files
  • hash-object – Hash and store a file in objects/
  • cat-file – Read and display objects
  • add – Add file to index
  • write-tree – Write a tree object from the index
  • commit – Create a commit object
  • checkout – Rebuild working directory from commit
  • log – Walk commits and show history
  • clone – Download and build everything locally (remote support)

Testing

go test ./tests/... -v

About

Git Clone written in Go

Topics

Resources

Stars

Watchers

Forks

Languages