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

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


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.0.tar.gz (2.6 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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for py_git_assistant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e38eb4a5f9a4c999added2b29b10c71cbc1d7c8ea9a66f6dd88a2135d6a54d84
MD5 8eac480e46b72bd6ea7690b7bb4a85e2
BLAKE2b-256 7c38d64bc0e241f7af08f28006cb37004ed87af249d80a3bbccb650381b41dc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_git_assistant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd9f34408535bc44f278896825f3f9b5850168110e6f84f30c8cc893a55ef38
MD5 1e812e477e8afe561231df6adc6af91b
BLAKE2b-256 21f33536d0b8bb0d7e136e016a4f3dc8f37df8c1cf0081d349b50792f727298a

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