HomeFreeBSD

Add the prepare-commit-msg hook to the repository

Description

Add the prepare-commit-msg hook to the repository

This is a merged and modified version from src and ports repositories.

The easiest way to install is run the following command in the repository:

git config --add core.hooksPath .hooks

or copy it to the hooks directory, but it will not get automatically updated:

cp .hooks/prepare-commit-msg .git/hooks/

Approved by: carlavilla (doceng)
Differential Revision: https://reviews.freebsd.org/D36203

Details

Provenance
lwhsuAuthored on Aug 16 2022, 1:33 PM
Differential Revision
D36203: Add the prepare-commit-msg hook to the repository
Parents
R9:0b9f56c03815: ja/website: Update download page
Branches
Unknown
Tags
Unknown