Last active
April 19, 2022 05:53
-
-
Save GengGao/373cb83c3a5598dba9b7fd8882cff199 to your computer and use it in GitHub Desktop.
Enable husky pre-commit hooks for Git GUI's
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set the PATH | |
PATH=/usr/local/bin:$PATH | |
# this loads nvm.sh and sets the correct PATH before running hook | |
. ~/.nvm/nvm.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ref source: https://dev.to/studiospindle/using-husky-s-pre-commit-hook-with-a-gui-21ch