Easy To Manage Git Hooks With Pre Commit
Git Hooks Git Hooks is a script that runs when an event occurs in Git. It is used by writing a script in the .git/hooks directory, which allows you to check code conventions or run test code just before committing. Problem If you are developing alone, this method may not be bad, but if several people participate in development, the following problems may occur. Difficulty sharing hook scripts. There is no guarantee that everyone uses the same version of the hook. Apply pre-commit pre-commit is a good solution that easily solves this problem. You can manage the version of hooks through a configuration file within the project, and easily install them on your local machine. ...