https://github.com/wasabina67/auto-commit-message
Auto commit message
https://github.com/wasabina67/auto-commit-message
commit-message pipenv pyenv pyinstaller
Last synced: about 1 month ago
JSON representation
Auto commit message
- Host: GitHub
- URL: https://github.com/wasabina67/auto-commit-message
- Owner: wasabina67
- License: mit
- Created: 2024-09-06T22:48:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T13:47:13.000Z (8 months ago)
- Last Synced: 2025-01-30T16:19:03.202Z (3 months ago)
- Topics: commit-message, pipenv, pyenv, pyinstaller
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# auto-commit-message
Auto commit message## Overview
Generate a short commit message from the result of `git status --short`.
Example
```bash
$ git status --short
A test1
A test2
?? test3
$ auto_commit_message
Create test1, test2
``````bash
$ git status --short
M README.md
A test1
A test2
?? test3
$ auto_commit_message
Update README.md & Create test1, test2
``````bash
$ git status --short
R Makefile -> Makefile2
M README.md
A test1
A test2
?? test3
$ auto_commit_message
Update README.md & Create test1, test2 & Rename Makefile -> Makefile2
``````bash
$ git status --short
R Makefile -> Makefile2
M README.md
D setup.cfg
A test1
A test2
?? test3
$ auto_commit_message
Update README.md & Create test1, test2 & Delete setup.cfg & Rename Makefile -> Makefile2
```## Getting Started
### Build Locally
#### Setup
```bash
pipenv shell
``````bash
pipenv sync --dev
```#### Build
```bash
make build
```#### Run
```bash
./dist/auto_commit_message
``````bash
python auto_commit_message.py
```### Download Binary from Releases
#### Setup
```bash
cd /path/to/your-directory
``````bash
curl -L -o auto_commit_message https://github.com/wasabina67/auto-commit-message/releases/latest/download/auto_commit_message && \
chmod +x auto_commit_message
```#### Run
```bash
./auto_commit_message
```