Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‘‹ Welcome to sgit

This project is a clone of git in Scala, made for the Functional Programming class at Polytech Montpellier.

The project started on October the 2nd and will end on October the 20th.

โšก Installation

Clone the repository

In the repository, run sbt assembly

The compiled JAR will be on the target/<scala version> directory (Experimental: alternatively, download the pre-compiled jar from the GitHub under โ€œreleasesโ€ ).

You can run it using java -jar <path/to/jar> <command> <arg> straight in the directory you want to build the sgit repo. You can also create an alias in your .bashrc file as: alias sgit='java -jar '<path/to/jar>'. You will then be able to run by typing sgit <command> <arg>.

๐Ÿ“Œ Commands

  • sgit init
  • sgit status
  • sgit diff
  • sgit add <filename>
  • sgit commit
  • sgit log
  • sgit log -p
  • sgit log -stat
  • sgit branch <branch>
  • sgit branch -av
  • sgit checkout <branch>
  • sgit tag <tag>
  • sgit merge <branch>
  • sgit rebase <branch>
  • sgit rebase -i

About

A Git clone in Scala

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages