A Scala-based git-like code source manager
- JDK11+,
- Scala 2.13.10+
- sbt version 1.3.2+
-
Use
maketo generatesgit-
This command will run
sbt assemblyto generate a sgit executable into sgit directory -
If you want to use
sgitas any other command then you need to add it to your PATH using the following commandexport PATH=$PATH:/path/to/sgit -
If you want to use
sgitas any other command then you need to add it to your PATH using the following command:
-
-
To use
sgitcommands:- Default
./sgit commandName commandParameter(s) - Using java
java -jar ./sgit commandName commandParameter(s)
- Default
- sgit init
- sgit add <filenames> .
- sgit status
- sgit diff
- sgit commit
- sgit log
- sgit log -p
- sgit log -stat 👷
- sgit branch <branchName>
- sgit branch -av -ALL
-ALL is imperative- sgit checkout <branch> 👷
- sgit tag <tag>
- sgit merge <branch> 👷
- sgit rebase <branch> 👷
- sgit rebase -i 👷
![]()