https://github.com/alice1017/commit-label
The commit-label install the git prepare-commit-msg hook to put a label beginning of the commit message.
https://github.com/alice1017/commit-label
git-commit git-hooks hooks labels
Last synced: 6 months ago
JSON representation
The commit-label install the git prepare-commit-msg hook to put a label beginning of the commit message.
- Host: GitHub
- URL: https://github.com/alice1017/commit-label
- Owner: alice1017
- Created: 2018-04-16T15:04:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T00:55:40.000Z (over 7 years ago)
- Last Synced: 2025-02-15T08:26:01.601Z (10 months ago)
- Topics: git-commit, git-hooks, hooks, labels
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Commit Label
[](http://forthebadge.com)
## :page_facing_up: Overview
The **commit-label** install the git **prepare-commit-msg** hook to put a label beginning of the commit message.
## :scroll: List of the Labels
* **WROTE** - Use when wrote the document such as `README`.
* **FIXED** - Use when fixed the bugs or issues.
* **IMPLEMENTED** - Use when added the new feature.
* **ENHANCED** - Use when implemented feature enhanced.
* **MODIFIED** - Use when not enhanced but modified something.
* **TESTED** - Use when wrote the unit test.
* **RELEASED** - Use when released to the product.
### Changelog
* *2018/7/26* - Added the '**MODIFIED**' label.
## :wrench: Usage
### 1. Install hook
```
$ commit-label init
done.
```
### 2. Commit
```
$ git commit -m "README.md"
Select Commit Label
1) WROTE - Use when wrote the document such as `README`.
2) FIXED - Use when fixed the bugs or issues.
3) IMPLEMENTED - Use when added the new feature.
4) ENHANCED - Use when implemented feature enhanced.
5) MODIFIED - Use when not enhanced but modified something.
6) TESTED - Use when wrote the unit test.
7) RELEASED - Use when released to the product.
8) DO NOT PUT A LABEL
> 1
[master (root-commit) 311f3b4] WROTE: README.md
1 file changed, 1 insertion(+)
create mode 100644 README.md
```
## :inbox_tray: Installation
```
$ git clone git@github.com:alice1017/commit-label.git
$ cd commit-label
$ python setup.py build install
```