1.0.20 • Published 4 years ago

enforcing-convensional-commit v1.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago