You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,12 @@ pre-commit
4
4
A framework for managing and maintaining multi-language pre-commit hooks.
5
5
6
6
Some out-of-the-box hooks: https://github.com/pre-commit/pre-commit-hooks
7
+
8
+
9
+
## What is a "pre-commit"
10
+
11
+
A pre-commit is some code that runs before commiting code to do some spot-checking for some basic programming mistakes.
12
+
13
+
## Why make this project?
14
+
15
+
We noticed that when creating a git repo it was not convenient to create pre-commit hooks. Often we resorted to copy/paste to include a set of useful hooks. https://github.com/causes/overcommit is an awesome project, but locked us into ruby and system packages -- which we wanted to avoid.
0 commit comments