git-linter/sources/usage.txt

25 lines
457 B
Plaintext
Raw Permalink Normal View History

2016-10-03 20:28:07 +00:00
=====
Usage
=====
2016-10-04 17:20:46 +00:00
2016-10-03 20:28:07 +00:00
Command Line
------------
.. contents::
git lint [options] [filenames]
Options
-------
2016-10-04 17:20:46 +00:00
.. include:: arguments.rst
2016-10-03 20:28:07 +00:00
As a pre-commit hook:
---------------------
2016-10-05 20:12:30 +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-03 20:28:07 +00:00
2016-10-05 20:12:30 +00:00
The pre-commit hook is *experimental*. Please be careful with it.