A Scala-based git-like code source manager
- JDK11+,
- Scala 2.13.10+
- sbt version 1.3.2+
-
Use
make
to generatesgit
-
This command will run
sbt assembly
to generate a sgit executable into sgit directory -
If you want to use
sgit
as 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
sgit
as any other command then you need to add it to your PATH using the following command:
-
-
To use
sgit
commands:- 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 👷