Skip to main content

A comprehensive Git operations tool with advanced features

Project description

Git Operations Tool

PyPI version Python versions License CI/CD

A comprehensive Git operations tool with advanced features including:

  • Enhanced Auto commit and push - Two modes available:
    • 🚀 Bulk commit: Commit all changes in one operation
    • 📁 Individual file commits: Commit each file separately with configurable delays
  • Smart timing controls - Prevents rate limiting with configurable delays between commits
  • Advanced safety checks - Automatically skips sensitive files, large files, and binary files
  • Improved error handling - Retry mechanisms with exponential backoff
  • Branch management - Create, list, checkout, and delete branches
  • Pull requests - GitHub integration for creating pull requests
  • Merge operations - Safe branch merging
  • Repository status and logs - Comprehensive Git status and history viewing

Installation

pip install git-operations-tool

Usage

After installation, run the tool with:

git-ops

Features

🚀 Enhanced Auto Commit & Push (v0.2.0)

  • Two commit modes:
    • Bulk commit: All changes in one commit (fast, clean history)
    • Individual commits: Each file committed separately (detailed tracking)
  • Smart timing: Configurable delays prevent rate limiting and commit conflicts
  • Safety first: Automatically excludes sensitive files, large files, and binaries
  • Robust error handling: Retry mechanisms with exponential backoff

🌿 Branch Management

  • Create, list, checkout, and delete branches
  • Automatic branch switching and creation
  • Safe merge operations with conflict detection

🔗 GitHub Integration

  • Create pull requests directly from the tool
  • Repository status and commit history viewing
  • Remote synchronization with retry logic

🛡️ Safety & Reliability

  • Gitignore pattern matching
  • Sensitive file detection (.env, keys, credentials)
  • Large file size limits (>100MB excluded)
  • Binary file detection and exclusion

Development

To contribute or run from source:

git clone https://github.com/Idk507/git_operations_tool.git
cd git-operations-tool
pip install -e .

License

MIT License - See LICENSE 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

git_operations_tool-0.2.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

git_operations_tool-0.2.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file git_operations_tool-0.2.0.tar.gz.

File metadata

  • Download URL: git_operations_tool-0.2.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for git_operations_tool-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6ceda8b2eb41140b527aee1f30c73423357f32fe99be5bdd1b68dd2fbf3469c1
MD5 05f00529c3e2762f9c21337c38753cc3
BLAKE2b-256 98325f00112b4fe1a7bb048fdc4974ce38d403319e461ee53b5d4bf980636f61

See more details on using hashes here.

File details

Details for the file git_operations_tool-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for git_operations_tool-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7cfdcc2b6fe0d6564bc918282b989e1938e3baf3a15f62f9ca0c53c46df678d
MD5 bd05880739347c131b07748e3f3edeb1
BLAKE2b-256 947807dd284e54c90c4cfbcb2b98c800d9b716ec5da3f05a4e2777c34bff9d0e

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