fetch new scripts automatically when remote scripts changed
SirNoSir opened this issue · 1 comments
SirNoSir commented
⚡ Summary
It will be great that lefthook can fetch new scripts automatically when remote scripts changed.
Value
We use remotes feature to manage scripts. If lefthook support fetch scripts automatically, we just release our scripts and Inform our developers what is new, our developers don't need to execute install command every time.
Behavior and configuration changes
add configuration option under remotes option with default value false.just like this:
remotes:
- git_url: https://github.com/evilmartians/lefthook
refetch: true
when the value was set true, lefthook will refetch of the code every call.