diff-commit

module
v0.0.0-...-bbebc9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2024 License: MIT

README

diff-commit

This is a simple tool to generate commit messages from the diff.

Requirements

Usage

Generate commit message from the diff.

diff-commit <patch>

Generate commit message from the diff and append to the commit message.

git commit -m "$(git diff --cached | diff-commit -)"

Generate commit message from last commit and amend to the commit message.

git commit --amend -m "$(git show HEAD --patch | diff-commit -)"

Directories

Path Synopsis
cmd
diff-commit command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL