Tico is a minimalistic version control system written in Python. It provides basic versioning functionalities to help you manage changes to your project.
Installation Clone the Tico repository to your local machine:
git clone https://github.com/MSTC-x-IITGN/WoC_6.0_Systems_Programming.git
Navigate to the Tico directory:
cd tico
Make the Tico script executable:
chmod +x tico.py
Copy the Tico script to a directory in your system's PATH (e.g., /usr/local/bin on Linux):
sudo cp tico.py /bin
Getting Started Follow the steps below to initialize and use Tico:
Initialize a new Tico repository:
tico init
Add a file to the index:
tico add <file>
Commit changes with a message:
tico commit -m <message>
Remove a file from the index:
tico rmadd <file>
Remove the last commit:
tico rmcommit
Display commit log:
tico log
Checkout a specific commit:
tico checkout <commit>
See usage help:
tico help
See the repository status:
tico status
See the present user (default username is naveen):
tico user show
Change the user:
tico user set <username>
Push your files to another folder:
tico push <path>
Watch this tutorial to get started with Tico.
Save the Tico script as tico.py.
Add the folder containing tico.py to your system's PATH.
Open Command Prompt and use Tico commands.
Save the Tico script as tico.py.
Make it executable and Move it to a directory in your system's PATH (e.g., /usr/local/bin):
chmod +x tico.py
sudo cp tico.py /usr/local/bin/tico
Open Terminal and use Tico commands.