Skip to main content

a natural language git assistant for the terminal

Project description

ASD v1.1.2

ASD is a natural language Git assistant for the terminal. It translates plain English instructions into Git commands, helping you manage branches, histories, and merges safely and efficiently.

ASD in action

Why ASD?

  • I struggled with Git’s commands and conflicts.
  • I wanted a simple, transparent tool—no magic—just clear steps.

Features

  • Translate English instructions into Git commands.
  • Guide complex workflows with best-practice suggestions.
  • Visualize commit graphs and branch histories.
  • Offer safety checks and recovery guidance for risky operations.

Getting Started

Installation

From PyPI:

pip install git-asd

Or directly from GitHub:

pip install git+https://github.com/adikuma/asd.git
Launch
asd

This opens ASD’s interactive terminal interface. Enter any Git task in plain English.

Workflow

Here’s a quick look at the five-step process inside ASD:

flowchart LR
    Start([Start]) --> Analyze[Analyze Git Context]
    Analyze --> Intent[Parse User Intent]
    Intent --> Plan[Generate Execution Plan]
    Plan --> Review[Review Plan & Status]
    Review --> Execute[Execute Commands]
    Execute --> End([End])
  1. Analyze Git Context: Examine git status to capture your repository’s state.
  2. Parse User Intent: Turn your English request into a structured plan.
  3. Generate Execution Plan:Create a safe list of Git commands.
  4. Review Plan & Status: Inspect the plan and current status.
  5. Execute Commands: Run each step with your approval and mini-lessons.

Roadmap

ASD is an early project with plenty of room for improvement. I would love to have people test it, report issues, and suggest features so I can refine and expand its capabilities.

Contributions and feedback are welcome. Please open an issue or submit a pull request.

Contribution Guidelines

This is my general contribution process; I like to keep it simple—sorry about that :)

Topic Guidelines
Branching Strategy feature/ for new features (e.g., feature/add-login-command), fix/ for bug fixes (e.g., fix/handle-empty-input).
Code Formatting Use [ruff] for formatting. Run ruff format . before pushing.
Code Style Keep comments lowercase; use # NOTE: or # TODO: for import-related comments.
Commit Messages FollowConventional Commits specification.
Pull Requests & Merging Create a PR; merging to main requires ≥1 collaborator approval; use squash merge.
Creativity Feel free to experiment and innovate.

Updates

For a detailed change history, see UPDATES.md.

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

git_asd-1.1.2.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

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

git_asd-1.1.2-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file git_asd-1.1.2.tar.gz.

File metadata

  • Download URL: git_asd-1.1.2.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for git_asd-1.1.2.tar.gz
Algorithm Hash digest
SHA256 ce116f350190304965818ba68e2ef160ec78054fd85b669865da2a6abb64b646
MD5 a1f2ae51279981042e802fb38b06791c
BLAKE2b-256 e33f2ae0588265d867eec0d640ab94a45dca7b1fd37457a933537c83faed6c78

See more details on using hashes here.

File details

Details for the file git_asd-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: git_asd-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for git_asd-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 298d8c9d33ce25cb77f3c769f87991af2bd661e4a2c9eaca842b20fa7f4c2bd9
MD5 78db3529c79368fcb12f555dbe6ca26b
BLAKE2b-256 713f41dee1321826d4c6d9ea4eae8c19b66cb1122e600066ff7709a156b2f836

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