This repo contains a collection of git hooks that can be used to automate certain tasks when working with git.
Remove the file extension from the chosen hook and copy it to the .git/hooks
directory of your project.
Ensure the file is executable by running chmod +x .git/hooks/<hook-name>
.
This script will prepend the branch name to the commit message.
This script will prevent pulling or merging the develop branch into either the main or master branches.
This repo is licensed under an MIT license. A copy of the license is also provided.