typicode / husky

Git hooks made easy 🐶 woof!

Home Page:https://typicode.github.io/husky

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Husky cannot execute git commands on Mac computers.

Autumn-one opened this issue · comments

I have a front-end project that uses husky to integrate git hooks to perform some automated operations. I execute some git commands in the Pre-commit and post-commit hooks, such as: git add . This works fine on windows, but on mac, the exact same configuration will fail when executing git commands.