Skip to content

zer0-star/git-hs

Repository files navigation

git-hs

A toy git implementetaion written in Haskell

Implementation status

  • git add
  • git commit
  • git merge
  • git push
  • git switch
  • git status
  • git log

Build

with Nix

nix build

with Cabal

cabal build

Commands

add

git-add - Add file contents to the index

Usage: git-hs add PATH... [-n|--dry-run]

  Add file contents to the index

Available options:
  PATH...                  Files to add
  -n,--dry-run             Don't actually add the files to the index
  -h,--help                Show this help text

commit

git-commit - Commit changes to the repository

Usage: git-hs commit (-m|--message MESSAGE)

  Commit changes to the repository

Available options:
  -m,--message MESSAGE     Use the given message as the commit message
  -h,--help                Show this help text

About

a toy git implementetaion written in haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published