Skip to content

deltonvaz/sgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

SGIT

A Scala-based git-like code source manager


Prerequisites

  • JDK11+,
  • Scala 2.13.10+
  • sbt version 1.3.2+

Usage

  1. Use make to generate sgit

    1. This command will run sbt assembly to generate a sgit executable into sgit directory

    2. If you want to use sgit as any other command then you need to add it to your PATH using the following command export PATH=$PATH:/path/to/sgit

    3. If you want to use sgit as any other command then you need to add it to your PATH using the following command:

  2. To use sgit commands:

    • Default ./sgit commandName commandParameter(s)
    • Using java java -jar ./sgit commandName commandParameter(s)

Available Commands

  • 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 👷

:shipit: