git-linter/docs/usage.rst

25 lines
457 B
ReStructuredText
Raw Permalink Normal View History

=====
Usage
=====
2016-10-04 17:16:17 +00:00
Command Line
------------
.. contents::
git lint [options] [filenames]
Options
-------
2016-10-04 17:16:17 +00:00
.. include:: arguments.rst
As a pre-commit hook:
---------------------
2016-10-05 20:11:49 +00:00
There's a file, pre-commit, in the /bin directory with the project. (Or you can download
it from the github repository.) Install it in you .git/hooks/pre-commit file, and
chmod +x .git/hooks/pre-commit.
2016-10-05 20:11:49 +00:00
The pre-commit hook is *experimental*. Please be careful with it.