Skip to content

henri-egger/rgit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Basic implementation of git in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages