Skip to main content

TrackIt is a basic version control system inspired by Git. It provides functionalities for creating commits, branches, tags, merging branches, and more.

Project description

TrackIt

TrackIt is a basic version control system inspired by Git. It provides functionalities for creating commits, branches, tags, merging branches, and more.

Installation

To install this package, run:

pip install .

Usage
TrackIt provides a command-line interface (CLI) for interacting with the version control system. Below are some of the commands you can use:

Initialize a Repository
To initialize a new TrackIt repository, run:

trackit init

Create a Snapshot
To create a snapshot of the current state of the repository, run:

trackit snapshot

Read a Snapshot To restore the repository to a previously stored snapshot, run:

trackit read-snapshot <snapshot_id>

Commit Changes
To commit changes to the repository with a message, run:

trackit commit -m "Your commit message"

View Commit Log
To display the commit log, run:

trackit log

Checkout a Commit or Reference
To checkout a specific commit or reference, run:

trackit checkout <commit_id_or_ref>

Create a Branch To create a new branch, run:

trackit branch <branch_name>

Tag a Commit
To tag a specific commit with a name, run:

trackit tag <tag_name> <commit_id>

Show Commit Details
To show the content of a specific commit, run:

trackit show <commit_id>

Display Differences Between Commits
To display the differences between two commits, run:

trackit diff <from_commit_id> <to_commit_id>

Merge Branches
To merge two branches, run:

trackit merge <other_branch> <head_branch>

Find Common Ancestor of Two Commits
To find the common ancestor of two commits, run:

trackit merge-base <commit_id1> <commit_id2>

Status
View the status, run:

trackit status

Find Common Ancestor of Two Commits To find the common ancestor of two commits, run:

trackit merge-base <commit_id1> <commit_id2>

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

This project is inspired by Git and aims to provide similar functionalities for version control.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trackit_vcs-1.0.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trackit_vcs-1.0.0-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file trackit_vcs-1.0.0.tar.gz.

File metadata

  • Download URL: trackit_vcs-1.0.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for trackit_vcs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cee154eee54e3bb901184710bd6d8cd7de813fa36f3b8bd41434750ba17e0e98
MD5 1b9fd59e452b7479608dbbe9ad6ceb2c
BLAKE2b-256 48d07a4daf05ecbafec356df3252ab5513033323a0113a4e845bda5baf14f9fe

See more details on using hashes here.

File details

Details for the file trackit_vcs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: trackit_vcs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for trackit_vcs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 012af177975a0f7c5ea73d0de072b8b0fc5ba739d41e9c27a3e13959afeb5919
MD5 11dc7d9ff44155e7072d07ad9199baca
BLAKE2b-256 65ed1615b220ef41686e476943a8774940abd8a8382714ec66262a93aa7a3eaf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page