Skip to content

wzshiming/diff-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published