3 ms·
Wait, I thought git hooks aren't pulled from remote. Wouldn't untrusted git hooks mean that git verify-* are useless since you're already running untrusted cod
by hda2 4y ago
Wait, I thought git hooks aren't pulled from remote.
Wouldn't untrusted git hooks mean that git verify-* are useless since you're already running untrusted code?
- edgyquant 4y agoOn my current app we use husky which installs hooks when you do a yarn install
- eru 4y agoYou are in luck, it seems: https://blog.typicode.com/husky-git-hooks-autoinstall/ https://blog.typicode.com/husky-git-hooks-autoinstall/ (Though not completely sure.)
- Groxx 4y agoJust to react to: >Wait, I thought git hooks aren't pulled from remote. You are correct. They are not. Other tools may auto-install them (I hate it), but git does not ever.