/oni

Javascript revision control system

Primary LanguageJavaScript

Oni

Oni is a simple javascript revision control system based on git.

Installation

npm install -g

Usage

Basic Usage

oni <command> [<args>]

Commands

Setup & Creation

oni init

Make an existing repository an Oni repository

oni clone [url]

Get an Oni repository from a provided URL

Staging & Snapshots

oni status

List modified files that are staged for the next commit

oni add [file]

Add a file to be tracked in the repository

oni cat [file] [object]

Print out the contents of a given file

oni snapshot [message]

Commit staged changes as a new snapshot

Branching & Merging

oni branch

List all branches

oni branch [branch-name]

Create a new branch from the current working branch at the current snapshot

oni merge [branch-name]

Merge the branch into the current working branch