Yggdrasil is a version control system designed to be simple and easy to use. It is a command-line tool that allows you to track changes in your project and manage different versions of your code.
- Simple Command-Line Interface: Easy to use commands to manage your project versions.
- Version Tracking: Keep track of changes and revert to previous versions if needed.
- Branching: Manage different versions of your project simultaneously.
- Java Development Kit (JDK) installed on your machine.
- Clone the repository:
git clone https://github.com/pratyush103/yggdrasil-vcs.git
- Navigate to the project directory:
cd yggdrasil-vcs
- Compile the project:
javac -d bin src/*.java
- Initialize a new repository:
ygg init
- Add files to the repository:
ygg add <file_name>
- Commit changes:
ygg commit -m "Your commit message"
- View the commit history:
ygg log
For compiled binary use java -cp bin Main
instead of ygg
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all the contributors who have helped in building this project.
For more information, visit the repository.
Feel free to adjust any sections or add more details as necessary.