Skip to main content

A simple CLI tool to assist with common Git operations.

Project description

Python Git

๐Ÿ“œ 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, and push in 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)

  1. Clone the repository:

  2. Install the project:

pip install .
  1. 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

git assistant CLI

Follow the prompts and let the assistant guide your Git workflow!


๐Ÿ“‚ Project Structure

git_assistant/
โ”‚
โ”œโ”€โ”€ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_git_assistant-0.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

py_git_assistant-0.1.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file py_git_assistant-0.1.1.tar.gz.

File metadata

  • Download URL: py_git_assistant-0.1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for py_git_assistant-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f14491b8447b43c16938a1eaed63de65b29de4de7fbc78f1cb6a0c6d451e3241
MD5 e27e8a040bc3135e37ef2961d327e334
BLAKE2b-256 3a8dcb1023fa20052af833e1f996e3aa2a864382390d53ad273f5e9482391489

See more details on using hashes here.

File details

Details for the file py_git_assistant-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for py_git_assistant-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 466b746cb33bcb454f82f1d11cd0c1240ee5ca340e641e528867fcf98ac90dce
MD5 4b713e4914519d694c76dde49c6dd60a
BLAKE2b-256 73ef9e42ca184b6f254925216d3814c950681277569c71391036672770a1b198

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