A smart CLI tool to automate git workflows and suggest commands
Project description
gitbotx
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, andgit push - Generates simple commit message templates based on staged files
- Automates
fetch,rebase, andpushoperations with a singlesynccommand - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitbotx-0.1.1.tar.gz.
File metadata
- Download URL: gitbotx-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d03a539881bd8df7fa6b156ee577285d89b66ac427404bd6bd557ac5d07d1439
|
|
| MD5 |
eeb938712cf55e68a02ccaca705e1035
|
|
| BLAKE2b-256 |
e35a6e094e0a6bc43c2c82e2a47f409a1efc21aea6476116554d9f8ee31ac6db
|
File details
Details for the file gitbotx-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gitbotx-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237d0c23d4d32f1699e5f4dcbd6f21d2fb5cbd410f795353036e5c38683be194
|
|
| MD5 |
fe47d528e8d66e29dd8f35f1f7389d42
|
|
| BLAKE2b-256 |
16055187eeb3d4d2ee25eba95559e8e35b8e99a0a75755f964bef9e97706186d
|