Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Git Hooks

📅 2020-Sep-23 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

In Git, hooks are scripts that it will run for you automatically before or after certain actions.

$ ln -s ../../some/path/in/repo/pre-commit .git/hooks/pre-commit