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.1.tar.gz (15.5 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.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_operations_tool-0.2.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for git_operations_tool-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e4427dd5bf644380ff3ae0f6f86ae0e6414a0c747c76a0ba861247f74337842c
MD5 bb46dc784f34ebb940b5db8dbeb7f86a
BLAKE2b-256 242559daf2b521c5cd0780ff12b5f425a84f3979c48f04ca81d2cab023a6ef99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for git_operations_tool-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6d1b97b335f08a10906e6668bc21de04960a61c067973b912769e9d8ea5a5d1c
MD5 7958901784ad87cc2adc22186586fa0a
BLAKE2b-256 6d1ff69cac28f9126402e75281b314381fa26c620ed7070cced23007265ce952

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