Commit 18663950 authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Add a shebang to fix the hook not running

https://stackoverflow.com/a/5697993/2715716
parent efd00088
......@@ -8,6 +8,21 @@ An experiment in tracking versions of DOCX files in Git.
Implemented in this repo.
[Git hooks](https://git-scm.com/book/gr/v2/Customizing-Git-Git-Hooks)
```sh
cd .git/hooks
cp pre-commit.sample pre-commit
code pre-commit
```
`pre-commit.sh`
```sh
#!/bin/sh
echo "Pre-commit hook ran"
```
### Recompressing with store compression level for plain text readability of the XML components
Diff won't show in VS Code because file is technically still a binary.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment