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.2.tar.gz (4.3 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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_git_assistant-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 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.2.tar.gz
Algorithm Hash digest
SHA256 777a776a0e9bd099dcb32d6a6132d7cc4edf7ec456597604cb60c65bb60106bc
MD5 d33d366588be504ca475299c8220bcc7
BLAKE2b-256 46bcc544ee83d8811e81497a33f8308ad1bd781c2eae4ee8f96c11247efcb3da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_git_assistant-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7886feadc6a13555c7e4810c18f7d7f360841d1eb357d85a87c715ed4810133d
MD5 5d637faaa4868853c5adfa84feeb9de1
BLAKE2b-256 65f5c5ca935fbf74072952bfdc59f95c4ea72424e38ed7d0efdb4dcc9de15c7c

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