The Wayback Machine - https://web.archive.org/web/20201026012737/https://github.com/ThomasF34/sgit
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

SGIT

Git-like CLI in scala

travis test status


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

About

Git like tool written in Scala

Topics

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.