The GitHooks.io project maintainers don't have the time to create all of the wonderful GitHook possibilities out there, so if you'd like to contribute but don't know where to start, try implementing one of these!
Rolls back any commits made directly to a branch of your choice, branching it and making a PR instead. This is to stop people from being able to push directly to
We have a proof of concept with our githook-super-protected-branches repository, but it could do with some love and care.
A GitHook which unmerges any PR which was opened and merged by the same person.
We got as far as creating a githook-forced-code-reviews repository. Please donate a PR!
When you make your private repository public, this GitHook will clear all commit history and replace it with one commit.
When a PR is opened, merge all commits into one.
Given a filename and property (e.g.
version), whenever the version number changes, a tag is automatically created.
When a new repo is created, automatically reconfigure the GitHub Issues labels with your preferred configuration.
By passing a Twitter handle and authentication token to a GitHook, it should be possible to automatically tweet when you tag a new release.