Skip to main content

A lightweight CLI version control system that replicates core Git commands from scratch.

Project description

GitMini

GitMini is a lightweight, minimal version control system built from scratch in Python. It replicates core Git commands like init, add, commit, log, and checkout — perfect for learning how Git works under the hood or experimenting with your own VCS.


🛠️ Features

  • gitmini init – Initialize a new GitMini repository
  • gitmini add – Stage changes (individual files, folders, or .)
  • gitmini commit – Commit staged changes
  • gitmini log – View commit history
  • gitmini checkout – Switch between branches or restore old versions
  • Simple .gitmini-ignore support
  • Content-addressable storage using SHA-1
  • No external dependencies

📦 Installation

pip install gitmini

📚 Usage

gitmini init gitmini add file.txt gitmini commit -m "Initial commit" gitmini log gitmini checkout gitmini branch (or, just leave without to see current branch)

👤 Author

James David Furtado LinkedIn : https://www.linkedin.com/in/james-furtado/ GitHub : https://github.com/jamesdfurtado

📄 License

MIT License. See LICENSE file for details.

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

gitmini-0.1.0.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

gitmini-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file gitmini-0.1.0.tar.gz.

File metadata

  • Download URL: gitmini-0.1.0.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for gitmini-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e410079aeaa06b7c17216526adb4896d2b3722b1b16246216245a2f8d44c2abc
MD5 2af02c9389451c9f110d512483762a5c
BLAKE2b-256 e8342f97952d8dcb44968c657e65d44de2fc83d04e0c47a3cbeadde1478880a5

See more details on using hashes here.

File details

Details for the file gitmini-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gitmini-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for gitmini-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f4ab34cdc4b8ac0187d7ded1c727a4ed37bb0c470eed0e7375ee729e73ea88b
MD5 92a24884770106eeac9572589157047c
BLAKE2b-256 b5353163b161d81fa96f7788ca4b974b4e6e3233b0820cb4393e59ff4db8911c

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