termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Set a specific command as a pre-push hook for Git
husky
Native Git hooks made easy.
More information: <https://typicode.github.io/husky>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
husky set {{.husky/pre-push}} "{{command}} {{command_arguments}}"
click the source code to copy