rgitak

Crates.iorgitak
lib.rsrgitak
version0.1.0
created_at2025-08-13 03:11:36.06546+00
updated_at2025-08-13 03:11:36.06546+00
descriptionA simple git client written in Rust
homepagehttps://rgitak.vercel.app/
repositoryhttps://github.com/Tech-with-anmol/rgit
max_upload_size
id1793207
size338,884
Anmol Kumar Singh (Tech-with-anmol)

documentation

README

IMPORTANT (to run) :- GO to https://webassembly.sh/ and run wapm upload then select the file that get downloaded via demo link to run this in browser!

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 during cargo run.


📁 Project Structure

rgit/
├── src/
│   └── main.rs
|   └── command.rs
|   └── Commands
|          └── mod.rs
|          └── ...
├── Cargo.toml
└── README.md

🛠 Commands

  • init — Initialize a new repository
  • add <file> — Stage a file
  • commit -m <msg> — Commit with a message
  • status — Show status of working directory
  • clone - clone a repo
  • push - push your files to github
  • write-tree - write to the tree
  • and more, listed by help command

📜 License

MIT

Commit count: 0

cargo fmt