- Scala version 2.13.0
- sbt version 1.3.2
- Java 8 JDK
$ git clone https://github.com/yannick-mayeur/sgit.git sgit-yannickm
$ cd sgit-yannickm
$ sbt assembly
The binary is generated into target/scala-2.13
. You can add the
path to this folder to your PATH
variable to be able to launch sgit
commands from anywhere on your system.
To get an overview of available commands execute the following command:
$ sgit --help
- help
- init
- status
- add <file>
- commit [-m <message>]
- diff
- log
- log -p
- log --stat
- branch [<name>]
- branch -av
- tag [<name>]
- checkout [<branch tag or commit>]
- merge (in progress in #19)
- rebase
- rebase -i
The test suite can be launched with:
$ sbt test