Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brianbruggeman/git-hooks

Hooks for git
https://github.com/brianbruggeman/git-hooks

Last synced: 25 days ago
JSON representation

Hooks for git

Awesome Lists containing this project

README

        

git-hooks
=========

Hooks for git

Includes:

* self-updating hooks

* spelling check for commit messages
* checks for cpp google style
* checks for pdb
* checks for pep8
* checks for tabs
* checks for end of line spaces
* checks for beautiful xml files

Usage
=====

To use, simply copy the standard git-commits to the hooks folder and
then add utils/git-hooks (this repo) to the top level of your
repository.

cd your_repo
mkdir utils
git submodule [email protected]:brianbruggeman/git-hooks.git utils/git-hooks
cp utils/git-hooks/pre-commit .git/hooks/
cp utils/git-hooks/commit-msg .git/hooks/

Enjoy!