wincent / masochist

⛓ Website infrastructure for over-engineers
MIT License
78 stars 26 forks source link

Add pre-commit hook in content repo to catch dumb mistakes #64

Closed wincent closed 8 years ago

wincent commented 8 years ago

Just accidentally created a file at /content/wiki/Ferret.vim instead of /content/wiki/Ferret.md. We should catch that kind of mistake with a hook.

Update: mitigated through use of script/new-article script.

wincent commented 8 years ago

Cross-referencing #50, which involves another potential dumb mistake (amending a published commit).

wincent commented 8 years ago

However, we can do better than that: