A toy git implementetaion written in Haskell
-
git add -
git commit -
git merge -
git push -
git switch -
git status -
git log
nix buildcabal buildgit-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
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