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.3.tar.gz (15.8 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.3-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_operations_tool-0.2.3.tar.gz
  • Upload date:
  • Size: 15.8 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.3.tar.gz
Algorithm Hash digest
SHA256 c78928c6273c1d8bcbdff3e20bef228066f9a079af57a3cfadb7ca413f5352d1
MD5 4f3893f8750cb9fd5e285084aaa53fc9
BLAKE2b-256 0aa722e6fd07fec5dd78382d24351729567b66ff0bd79a8a1dfd30a22a62ea96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for git_operations_tool-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1e7655fa7dbdc482bdc317c8320cc9803ef72dcfafa1fc120d92814c5f375af0
MD5 416451ac7ab883f2cce2ec5948683cf5
BLAKE2b-256 d60dc4c0baf8b55c9ab3858657ed5e0346fabbde1cbd51cc9be798718f5aaf18

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