Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.14 KB

rgit

REUSE Compliance REUSE status

This is a small implementation of git in the Rust programming language, i made it to learn Rust and better understand git at the same time.

Features

rgit is more of an experiment and therefore lacking many of gits features. Also, it currently only works on unix systems.

Implemented features:

  • Initializing a repository (init)
  • Adding to staging area (add)
  • Checking status (status)
  • Committing (commit)
  • Logging commits (log)
  • Loading a previous commit (checkout)
  • Some commands useful for development (list them with dev -h)

Usage

rgit uses Cargo as its build tool and package manager. To run rgit yourself, install Cargo on your machine.

Either compile rgit to an executable and run it:

cargo build

Or use the builtin compile and run command:

cargo run

Get a list of all available commands (implemented or not) by running the help command.