Simple Version Control System made in Rust
rvc is a simple Version Control System, inspired in git, that allows you to keep track of your changes locally (currently). You can configure where your commits are stored so you always know where to look for.
To use rvc
you first need to create your own project, then navigate to your project folder in your terminal of choice and initialize the rvc repository:
cargo run init
This will create the folder .rvc
, which contains all the files and folders needed for rvc
to manage the versions of your project.
You can configure your rvc with the following command:
cargo run config <option> <value>
Currently there is only one option available, which is the folder where your changes are stored:
- remote
After you've made some changes to your project you add the files you want to commit:
cargo run add file1.rs
cargo run add folder/
When you are ready to make a commit, you can use the following command:
cargo run commit "commit message"
Finally, you can push your changes to your designated folder with this command:
cargo run push
If you want to see the contents of a gzip compressed file, for example, the files stored in your designated remote folder, you can use this command:
cargo run cat-file file
- Add the ability to
checkout
, making it posible to revert/go back to a different point in the project. - Adding the ability to push to a remote using SSH.
- Add branches.