Skip to main content

Use AI to write your git commit messages.

Project description

Whatdido

No more "git commit -m "adsfkjaef"" in a fit of rage. Simply type dido to add your changes and write a simple and sane commit message.

This package is in an exploratory beta state. Please use carefully and at your own risk.

Installation

pip install whatdido

cd <any repo>

echo "Here's a new file for Tony" > "tony.txt"

git add tony.txt

whatdido summary

> Added new file 'tony.txt' containing the text \"Here's a new file for Tony\".

Here's a bash helper function for quicker usage:

dido() {
    git add -A
    git commit -m "$(whatdido summary)"
}

Usage

whatdido --help

 Usage: whatdido [OPTIONS] COMMAND [ARGS]...

╭─ Options ────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.  │
│ --show-completion             Show completion for the current shell, to  │
│                               copy it or customize the installation.     │
│ --help                        Show this message and exit.                │
╰──────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────╮
│ commit     Edit the summary and commit to the repo in one shot           |
│ config                                                                   │
│ diff       Get the terse diff of the staged changes.                     │
│ summary    Summarize the changes in the repository.                      │
╰──────────────────────────────────────────────────────────────────────────╯

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

whatdido-0.2.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

whatdido-0.2.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page