https://github.com/raine/git-commit-auto-message
Commit with a generic commit message based on the first staged filename and action performed on the file
https://github.com/raine/git-commit-auto-message
cli commit git
Last synced: 2 months ago
JSON representation
Commit with a generic commit message based on the first staged filename and action performed on the file
- Host: GitHub
- URL: https://github.com/raine/git-commit-auto-message
- Owner: raine
- Created: 2019-01-09T14:04:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T15:51:27.000Z (over 7 years ago)
- Last Synced: 2025-01-19T22:17:34.901Z (over 1 year ago)
- Topics: cli, commit, git
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-commit-auto-message
Commit with a generic commit message based on the first staged filename and
action performed on the file.
For cases, when you possibly couldn't come up with a better commit message or it
simply doesn't matter.
```sh
$ git status -s
A image.png
$ git-commit-auto-message
[master a61951a] add image.png
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 my-image.png
$ git mv image.png hello.png
$ git-commit-auto-message
[master b48759f] rename image.png to hello.png
1 file changed, 0 insertions(+), 0 deletions(-)
rename image.png => hello.png (100%)
$ git log
b48759f rename image.png to hello.png
a61951a add image.png
```