1.0.20 • Published 3 years ago

enforcing-convensional-commit v1.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

enforcing-convensional-commit

a minimum tool for enforcing your repository to hook conventional commits at git commit.

Usage

You can enforce developpers to install the git-hook script if you follow the above way when each users initialize your repository with npm install.

Alternatively,
if you wish to install the git-hook script just for you,
you can install it by npx:
npx enforcing-convensional-commit
or by just running sh script directly from web:
source <(curl -s https://raw.githubusercontent.com/yabe-diverta/enforcing-convensional-commit/main/install)

Bonus

:question: We already hold a repository, how enforce developpers to respect it?

execute the first command we mentioned at first,
just notice your coworkers to run git pull && npm install.

:question: We use PHP, not using Node, how we setup?

the first command is completely for a repository using npm project,
therefore if you wish to follow the same way,
you can add some lines like as post-install event hook suited for your language.

for example, your PHP project should be using Composer,
post-install-cmd may work with the 3rd command.

:question: I want to follow the way but in a global configuration for personal use.

please run source <(curl -s https://raw.githubusercontent.com/yabe-diverta/enforcing-convensional-commit/main/install.global)

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago