toplenboren / simple-git-hooks

A simple git hooks manager for small projects
MIT License
1.32k stars 43 forks source link

Check the hook directory before write a hook command #53

Closed 3c1u closed 3 years ago

3c1u commented 3 years ago

Some tools (e.g. SourceTree, GitHub Desktop) do not create the hook directory. This ensures the hook directory before writing a hook command.

toplenboren commented 3 years ago

Great, thanks! Gonna merge and release it on weekends