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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file whatdido-0.2.0.tar.gz.

File metadata

  • Download URL: whatdido-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/22.3.0

File hashes

Hashes for whatdido-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cdba9babb7f483c2c60c8f93051ba019e3ef19030ffba8387c827e2569b47592
MD5 4073f0092874c4fff35e400e83712836
BLAKE2b-256 7abfb6a17cae65ca9dc2c8dbb59c720e8db3f102985bd9b66a975f8d751d58a7

See more details on using hashes here.

File details

Details for the file whatdido-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: whatdido-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/22.3.0

File hashes

Hashes for whatdido-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 988e9b9d05477aeecbc06010a9068983eb5016378e18e7f93301a4c17297a6fb
MD5 8be2fd661d1ffd1ce4b6b7bbd7c2d335
BLAKE2b-256 4d4c5a702cf1993e1172d875b7eed8a68667ac32e7bf7388af66857b57f3b951

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