Skip to main content

A Clean & Powerful Git Workflow Engine

Project description

🚀 AARU CLI

A Clean & Powerful Git Workflow Engine

Python Version License


✨ Created by


📦 Installation

Install from source

# Clone the repository
git clone https://github.com/aarushlohit/GIT_PROTOCOL.git
cd GIT_PROTOCOL

# Install the package
pip install -e .

Install from PyPI

pip install aarushlohit_git

🚀 Quick Start

After installation, you can use aaru command from anywhere:

# Show banner and info
aaru aaru

# Initialize a repository
aaru init

# Save changes
aaru save "my commit message"

# Sync with remote
aaru sync

# Get help
aaru --help

📖 Commands

🟢 Repository Setup

aaru init                    # Initialize a Git repository with .aaru workspace
aaru clone <repo_url>        # Clone a repository and set up .aaru
aaru config                  # List current Git configuration
aaru config-user             # Configure Git user name and email

🔵 Daily Workflow

aaru status                  # Show repository status
aaru save <message>          # Stage all changes and commit
aaru history                 # Show commit graph
aaru diff                    # Show unstaged changes
aaru undo                    # Soft-undo last commit

🟡 Branch Management

aaru create <branch>         # Create and switch to a new branch
aaru switch <branch>         # Switch to an existing branch
aaru delete <branch>         # Delete a branch (safely)
aaru branches                # List all branches

🟣 Remote Operations

aaru send                    # Push current branch to remote
aaru update                  # Fetch all remotes
aaru sync                    # Pull and push (two-way sync)
aaru add-upstream <url>      # Add upstream remote for forks
aaru fork-sync               # Sync fork with upstream
aaru fork-sync --no-push     # Pull from upstream without pushing

🔴 Pull Request Tools

aaru checkout-pr <number>    # Checkout a PR locally for testing

🟠 Stash Tools

aaru stash                   # Stash current changes
aaru stash-pop               # Apply and remove most recent stash
aaru stash-list              # List all stashed changesets

⚫ Git Passthrough

aaru raw -- <any git command>    # Pass any command directly to Git

# Examples:
aaru raw -- log --oneline -10
aaru raw -- cherry-pick abc123
aaru raw -- rebase -i HEAD~3

🎯 Features

  • ✅ Clean, intuitive command names
  • ✅ Safe operations with confirmations
  • ✅ Beautiful colored output
  • ✅ Fork workflow support
  • ✅ PR checkout for testing
  • ✅ Full Git compatibility via raw command
  • ✅ Custom .aaru workspace tracking
  • ✅ Cross-platform support

🛠️ Requirements

  • Python 3.8+
  • Git 2.0+
  • typer
  • click

📄 License

MIT License - See LICENSE file for details


🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.


🌟 Show Your Support

If you find AARU CLI helpful, please give it a ⭐ on GitHub!


Made with ❤️ by aarushlohit

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

aarushlohit_git-1.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

aarushlohit_git-1.1.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file aarushlohit_git-1.1.0.tar.gz.

File metadata

  • Download URL: aarushlohit_git-1.1.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for aarushlohit_git-1.1.0.tar.gz
Algorithm Hash digest
SHA256 38babef5d88dad287b22c1ad57a9861f402e8483069913862ffa890f409250a5
MD5 e6c2ad1224a121faf0803cedf006cc9e
BLAKE2b-256 ba3f46206789abd010a8b62c9fe106c6cec3d19b8454ba071cd30ba24c5b09aa

See more details on using hashes here.

File details

Details for the file aarushlohit_git-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aarushlohit_git-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 316280076a7b8cda7564f60e02e6390817102bceb8375c0151bdf9ec8742f54a
MD5 19f88f66baf1127ef222acf0887fdddb
BLAKE2b-256 65e1c3990d1b76ca45db401179eef70c427fb3e672ca21337823937cf452d62b

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