-
Download the following file and copy it to the local directory of your repository: Download commit-msg file
-
Open Visual Studio Code (VSCode) in the repository.
-
Open the terminal in VSCode.
-
Write the following Command Line:
mv commit-msg .git/hooks
Now, commits must start with one of the following prefixes:
add:fix:feat:update:delete:merged: