| Crates.io | rgitak |
| lib.rs | rgitak |
| version | 0.1.0 |
| created_at | 2025-08-13 03:11:36.06546+00 |
| updated_at | 2025-08-13 03:11:36.06546+00 |
| description | A simple git client written in Rust |
| homepage | https://rgitak.vercel.app/ |
| repository | https://github.com/Tech-with-anmol/rgit |
| max_upload_size | |
| id | 1793207 |
| size | 338,884 |
README.md for Local Rust Usage Only# rgit
A minimal Git-like CLI tool built in Rust.
## 📦 Requirements
- [Rust](https://www.rust-lang.org/tools/install) (latest stable)
- Cargo (comes with Rust)
## 🚀 Run Locally
```bash
git clone https://github.com/Tech-with-anmol/rgit
cd rgit
cargo run -- <command>
Example:
cargo run -- init
cargo run -- add example.txt
cargo run -- commit -m "Initial commit"
cargo run -- status
Note:
--is required before passing CLI arguments to the binary duringcargo run.
rgit/
├── src/
│ └── main.rs
| └── command.rs
| └── Commands
| └── mod.rs
| └── ...
├── Cargo.toml
└── README.md
init — Initialize a new repositoryadd <file> — Stage a filecommit -m <msg> — Commit with a messagestatus — Show status of working directoryclone - clone a repopush - push your files to githubwrite-tree - write to the tree