/commit-label

The commit-label install the git prepare-commit-msg hook to put a label beginning of the commit message.

Primary LanguagePython

Commit Label

forthebadge

📄 Overview

The commit-label install the git prepare-commit-msg hook to put a label beginning of the commit message.

📜 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.

🔧 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

📥 Installation

$ git clone git@github.com:alice1017/commit-label.git
$ cd commit-label
$ python setup.py build install