summaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
Diffstat (limited to 'README.org')
-rw-r--r--README.org13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..d8fb088
--- /dev/null
+++ b/README.org
@@ -0,0 +1,13 @@
+Playing with Rust as an option for writing git hooks.
+
+To try the hooks, do the following to compile the hooks and symlink
+them into your git hooks folder.
+
+#+BEGIN_SRC sh
+cargo build
+
+ln -s $PWD/target/debug/prepare-commit-msg .git/hooks/prepare-commit-msg
+ln -s $PWD/target/debug/commit-msg .git/hooks/commit-msg
+ln -s $PWD/target/debug/pre-push .git/hooks/pre-push
+#+END_SRC
+