A simple CLI tool to assist with common Git operations.
Project description
๐ Git Assistant
๐ฏ A simple command-line assistant (CLI) to make common Git operations like initializing repositories, committing changes, pushing, managing branches, and more โ fast and interactive!
โจ Features
- Initialize local and remote Git repositories.
- Quickly
git add,commit, andpushin one flow. - Create, list, and switch between branches easily.
- Clone remote repositories.
- Guided commit types and messages.
- Colored terminal output for better visibility.
- Fully interactive and beginner-friendly!
๐ Installation
Recommended: Use a virtual environment (
venv)
-
Clone the repository:
-
Install the project:
pip install .
- Now you can use the assistant globally:
git-assistant
๐ ๏ธ Usage
After installation, simply run:
git-assistant
You will see an interactive menu like:
What fo you want to do?
> Init repo (Initialize Git and remote)
> Push all (Add, commit, and push changes)
> Clone repo (Clone a remote repository)
> Manage branch (Create/Switch branches)
> Exit
Follow the prompts and let the assistant guide your Git workflow!
๐ Project Structure
py_git_assistant/
โ
โโโ py_git_assistant/
โ โโโ __init__.py
โ โโโ assistant.py # Main entry file
โ โโโ services/
โ โ โโโ __init__.py
โ โ โโโ git_service.py # Git-related commands
โ โ โโโ ui_service.py # User interaction and menus
โ โโโ utils/
โ โโโ __init__.py
โ โโโ helpers.py # Helper functions
โ
โโโ requirements.txt # Project dependencies
โโโ .gitignore
โโโ README.md # Project documentation
โโโ pyproject.toml # For packaging and distribution
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 py_git_assistant-0.1.0.tar.gz.
File metadata
- Download URL: py_git_assistant-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e38eb4a5f9a4c999added2b29b10c71cbc1d7c8ea9a66f6dd88a2135d6a54d84
|
|
| MD5 |
8eac480e46b72bd6ea7690b7bb4a85e2
|
|
| BLAKE2b-256 |
7c38d64bc0e241f7af08f28006cb37004ed87af249d80a3bbccb650381b41dc0
|
File details
Details for the file py_git_assistant-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_git_assistant-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbd9f34408535bc44f278896825f3f9b5850168110e6f84f30c8cc893a55ef38
|
|
| MD5 |
1e812e477e8afe561231df6adc6af91b
|
|
| BLAKE2b-256 |
21f33536d0b8bb0d7e136e016a4f3dc8f37df8c1cf0081d349b50792f727298a
|