[pacman-dev] GIT hooks

Dan McGee dpmcgee at gmail.com
Mon Jun 4 23:10:31 EDT 2007


As an FYI, I have found the following GIT hooks pretty useful. These
are all default hooks in the .git/hooks directory. To enable them, run
chmod +x on them.

pre-commit - Ensures you don't have any weird trailing whitespace in
your commits.
pre-rebase- Catches some stupid things while rebasing.
commit-msg- Ensures you don't have duplicate signoff messages.

-Dan




More information about the pacman-dev mailing list