https://github.com/tyleryep/git-hooks
An easy way to import git pre-commit or post-commit hooks into a repository.
https://github.com/tyleryep/git-hooks
Last synced: 9 months ago
JSON representation
An easy way to import git pre-commit or post-commit hooks into a repository.
- Host: GitHub
- URL: https://github.com/tyleryep/git-hooks
- Owner: TylerYep
- License: mit
- Created: 2020-05-09T18:10:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T08:03:12.000Z (almost 5 years ago)
- Last Synced: 2025-02-09T08:17:01.561Z (11 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-hooks
An easy way to import git pre-commit or post-commit hooks into a repository.
To use, simply clone this repository and then add the scripts/ folder to your project.
Run `scripts/install-hooks` to install all hooks. This will create a symbolic link to your scripts, so changing your scripts will automatically change the linked hooks.
Then, modify any of the other files in order to customize your git workflow.
If you no longer want to use these hooks, run `scripts/uninstall-hooks` and then delete the `scripts/` folder.