Skip to main content

User-friendly command-line tool for Git that simplifies everyday operations. Perfect for developers who want powerful Git functionality without the complexity.

Project description

GitCLI - Git Operations Automation

GitCLI is a user-friendly command-line tool for Git that simplifies everyday operations. Perfect for developers who want powerful Git functionality without the complexity.

Features

  • 🎨 Colored output and loading spinners
  • 🔔 System notifications (macOS/Linux/Windows)
  • ⌨️ Tab completion in interactive mode
  • 🛡️ Safety checks for destructive operations
  • 🖥️ Cross-platform (macOS, Linux, Windows)
  • 🚀 Direct command execution or interactive mode

Installation

pip install gitcli-automation

Quick Start

Interactive Mode

gitcli

Direct Commands

gitcli status
gitcli commit
gitcli push
gitcli qp              # quick push: stage + commit + push
gitcli sync            # pull + push

Available Commands

Core Operations

  • commit - Commit staged changes
  • push - Push to remote (with force push option)
  • pull - Pull latest changes
  • sync - Pull then push in one command
  • fetch - Fetch updates without merging
  • stage - Stage changes (all or specific files)
  • status - Show git status
  • log - View commit history
  • diff - Show unstaged changes
  • diff-staged - Show staged changes

Branch Management

  • switch-branch - Switch to another branch
  • add-branch - Create new branch
  • delete-branch - Delete a branch
  • rename-branch - Rename a branch
  • list-branch - List all branches

Quick Operations

  • quick-push or qp - Stage, commit & push in one go

Advanced

  • amend - Amend last commit
  • reset - Reset to previous commit
  • remotes - Manage remote repositories
  • clone - Clone a repository

Command Flexibility

Commands work with spaces, hyphens, or no spaces:

gitcli list-branch    # ✅
gitcli listbranch     # ✅
gitcli list branch    # ✅

Examples

Quick workflow:

gitcli qp

Standard workflow:

gitcli status
gitcli diff
gitcli stage
gitcli commit
gitcli push

Branch workflow:

gitcli add-branch feature-x
# ... make changes ...
gitcli qp
gitcli switch-branch main

Requirements

  • Python 3.7+
  • Git installed and configured

Safety Features

  • Confirmation prompts for destructive operations
  • Branch protection (can't delete current branch)
  • Remote validation before push/pull

Contributing

Contributions welcome! Visit the GitHub repository.

License

MIT License - see LICENSE file for details.

Author

Adelodunpeter - GitHub

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

gitcli_automation-1.0.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

gitcli_automation-1.0.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file gitcli_automation-1.0.2.tar.gz.

File metadata

  • Download URL: gitcli_automation-1.0.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for gitcli_automation-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e9790c2997be1122c7c1a123cffd93ebe86b0302ade4453b43e6c860efd457c2
MD5 1ac7d51874ad9787e687464aba8a697c
BLAKE2b-256 df2dda2117331074552b068b088b86ea4d575bc9f4b79b4c6670a8d2980f13a3

See more details on using hashes here.

File details

Details for the file gitcli_automation-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gitcli_automation-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d539b30beb66f4a0bce004a4569039c8662a34180a7b6fc5e6e35ee15e05ace
MD5 a052600714a258d4bbc977348446b156
BLAKE2b-256 16a61c6d345c936d8c30803fb57a987d01a44829b9a14135e59c41b0cb0035ef

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