frontsideair / yarnhook

Run `yarn install`, `npm install` or `pnpm install` on git hooks automatically
MIT License
217 stars 17 forks source link

Switching from a branch where yarnhook is installed to one where it isn't results in detached head #13

Open frontsideair opened 6 years ago

frontsideair commented 6 years ago

This is serious, it may result in lost data.

christophehurpeau commented 6 years ago

husky did something when husky itself is missing: https://github.com/typicode/husky/commit/3b1e394da549cf5aec05246455e7088e3133f69c