SGIT
Git-like CLI in scala
To use sgit please make sure you have sbt installed. If not, see here
Installation
You can find the binary file in the Github release
You can also execute the following command to build the binary file. You then have to add target/scala-2.13 to your PATH.
sbt assembly
You're now able to use sgit
Usage
- help
- init
- status
- add <file>
- commit [-m <message>] [-a <author name> ]
- diff
- log
- log -p
- log --stat
- branch [<name>]
- branch -av
- tag [<name>]
- checkout [<branch tag or commit>]
- merge
🔨 [<branch>] - rebase
- rebase i
NB: Merge algorithm is implemented but is not linked to Parser. Merge command will show an example on three given contents (I decided to focus on refactoring the architecture instead)
Test
You can run tests with the following command
sbt test
You can also see test with a coverage report with the following command (using scoverage)
sbt coverage test coverageReport

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
