👽
Let's write a tiny git client in Rust!
CtrlK
  • Lets' start
    • Install rust
    • Create the project structure
  • Git init command
    • Implement git init Command
    • Create a GitConfig struct
    • Create a GitRepository struct
    • Refactor!
    • Implement GitRepository::create
    • Let's add some integration tests
    • A better approach to handling errors
    • Add find function to GitRepository
    • Finish init command implementation
  • Git cat-file command
    • Create a git object module
    • Add BlobObject
    • Add ObjectParseError
    • Implement read function
    • Update argument parser
    • Finish cat-file command implementation
    • The hash-object command
  • Refactor
    • Split error types
    • Split git_object module
    • Add SerializedGitObject
    • Add CompressedGitObject
    • Move read and write objects to repository module
    • Change GitObject to an enum
    • Move each git object to separate file
  • Reading commit history
    • Parsing commits
    • Add log command
    • A few more refactors and fixes
    • Start parsing tree objects
    • Add ls-tree
    • Add checkout command
  • Refs, tags and branches
    • Implement show-ref command
    • Implement tag command
    • Improve find_object
Powered by GitBook
On this page
  1. Lets' start

Install rust

TODO

NextCreate the project structure

Last updated 1 year ago