git_hooks 1.0.2 git_hooks: ^1.0.2 copied to clipboard
Using dart to prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...).It is similar to husky.
import '../lib/git_hooks.dart';
void main() {
GitHooks.init(targetPath: "bin/git_hooks.dart");
}