aboutsummarylogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index f7196f263899..718f37930837 100644
--- a/README.md
+++ b/README.md
@@ -37,3 +37,9 @@ It is as simple as running the following command in the repository's root direct
```bash
$ mksrcinfo
```
+
+However, I prefer to use a git pre-commit hook ([pre-commit.sh](pre-commit.sh)) to do this automatically. Set it up with this command:
+
+```bash
+$ ln -s ../../pre-commit.sh .git/hooks/pre-commit
+```