Skip to content
/ arc Public

DVCS system written in Rust CSC 253: Collaborative Programming and Software Design Aceves, Zheng

Notifications You must be signed in to change notification settings

consaceves/arc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 

Repository files navigation

arc

DVCS system written in Rust
CSC 253: Collaborative Programming and Software Design
Aceves, Zheng, Zimmerman

Required installation of Rust and Cargo

On Linux and macOS systems, this is done as follows:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Follow the directions on screen to conclude installation.

How to run

$ cargo run

Commands available

init

Initializes a repository in the user's current working directory.

$ cargo run init

It can be used with optional argument to initialize repository elsewhere.

$ cargo run init <repo-path>

print

Prints out the status of the current repository.

$ cargo run print

clone

Clones repository from given path into the user's current working directory.

$ cargo run clone <repo-path>

It can be used with optional argument .

$ cargo run clone <repo-path> <destination-path>

add

Adds file to tracking list.

$ cargo run add <file-path>

remove

Removes file from tracking list.

$ cargo run remove <file-path>

checkout

Checkout to specific revision.

$ cargo run checkout <revision-name>

commit

Commits current changes.

$ cargo run commit

merge

Merges two revisions.

$ cargo run merge <revision-name> <revision-name>

push

Pushes current commit(s).

$ cargo run push

pull

Retrieves most recent changes from origin.

$ cargo run pull 

About

DVCS system written in Rust CSC 253: Collaborative Programming and Software Design Aceves, Zheng

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages