Skip to main content

A smart CLI tool to automate git workflows and suggest commands

Project description

gitbotx

PyPI Version

Overview

gitbotx is a lightweight, context-aware CLI tool designed to analyze the current state of your Git repository and provide actionable suggestions for your next Git commands. It also helps automate common workflows such as syncing branches and generating commit messages, saving you time and reducing errors.


Features

  • Shows unstaged, staged, and untracked files count
  • Displays current branch and remote ahead/behind status
  • Suggests Git commands like git add, git commit, git pull, and git push
  • Generates simple commit message templates based on staged files
  • Automates fetch, rebase, and push operations with a single sync command
  • Interactive prompts for resolving rebase conflicts

Installation

Install from PyPI:

pip install gitbotx

Or install from source:

git clone https://github.com/parikshit-06/gitbotx.git
cd gitbotx
pip install -e .

Usage

Run the tool inside a Git repository folder:

gitbotx --status

Get a suggested commit message based on staged changes:

gitbotx --commit-msg

Automatically fetch, rebase, and push your branch:

gitbotx --sync

License

This project is licensed under the MIT License. See the LICENSE file 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

gitbotx-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

gitbotx-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file gitbotx-0.1.0.tar.gz.

File metadata

  • Download URL: gitbotx-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for gitbotx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 25ac6e3ec17fb14bc51fd1afc9069c993b7decd28361bcc9716b2ed2ae6dcac2
MD5 802204f69355c1d058e7ad1c49aeffb3
BLAKE2b-256 ccffe2a11324a9a0cff246f6df15813774bd42106c3bf71fe9a7306dc6c3ebdb

See more details on using hashes here.

File details

Details for the file gitbotx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gitbotx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for gitbotx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b81fb79524ac714ebe2f50c439420879e9dfa07d6e27216dbc312f5aae3f07
MD5 5b01e06146efee8e6500b6498f4d7b46
BLAKE2b-256 9e7b97cf30278d22628a8e1d06eb65efcc4ade51824685a917a08bcba37050dd

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