karthik
karthik

Reputation: 21

How to customize the git commit-msg hook?

How can you validate the comment in the commit message dialog box. For example, the comment may be CSCRM12345678.

Upvotes: 2

Views: 218

Answers (1)

mattn
mattn

Reputation: 7723

use prepare-commit-msg githooks. Try to find $GIT_DIR/hooks/*

Upvotes: 3

Related Questions