Skip to content

a lightweight, custom-built version control system implemented in Java. It is designed to provide basic versioning functionality similar to Git.

Notifications You must be signed in to change notification settings

nithinbharathi/versioneer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versioneer

Versioneer is a simple version control system implemented in Java. It allows you to track changes to files in a directory, similar to how Git works, by creating snapshots of file changes. The current implementation supports commands like init, add, commit and log.

Following is an example illustrating the various methods avaiable:

Versioneer versioneer = new Versioneer();

versioneer.init();	// initializes the versioneer repository locally
versioneer.add("test.txt");	// adds the contents of the file to the staging area for tracking. Note that the file has to be present in the project's working directory (where .versioneer folder is present)
versioneer.commit("second commit"); // commits the changes
versioneer.log(); // displays a list of all of the logs
versioneer.showDiff("5001e39718201851c8693353ce66daa7ec12a68e91749390f69e0680e6cb4cc0","7d89aa2d5507f16e77c7f26d513b2433ddfeb287cdaef11f19d23cd5ef94180e");

About

a lightweight, custom-built version control system implemented in Java. It is designed to provide basic versioning functionality similar to Git.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages