https://github.com/brittonhayes/githooks
A repository of simple pre-commit hooks to ensure your code is nice and clean before commit.
https://github.com/brittonhayes/githooks
commit golang hooks linter shell
Last synced: 2 months ago
JSON representation
A repository of simple pre-commit hooks to ensure your code is nice and clean before commit.
- Host: GitHub
- URL: https://github.com/brittonhayes/githooks
- Owner: brittonhayes
- Created: 2020-06-28T05:52:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T06:43:35.000Z (almost 6 years ago)
- Last Synced: 2025-04-04T21:28:51.201Z (about 1 year ago)
- Topics: commit, golang, hooks, linter, shell
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pre-Commit Hooks
A repository of simple pre-commit hooks to ensure your code is nice and clean before commit.
## Table of Contents :notebook:
- [Installation](#installation)
- [Usage](#usage)
- [Support](#support)
- [Contributing](#contributing)
## Installation :cloud:
1. Install the package from Github
```
git clone https://github.com/brittonhayes/githooks
```
## Usage :hammer:
1. Navigate to the folder for your project's language
2. Copy the text from the pre-commit file
3. Paste the text into `your_repo/.git/hooks/pre-commit`
4. You're good to go!
---
## Support
Please [open an issue](https://github.com/brittonhayes/githooks/issues/new) for support.
## Contributing
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/brittonhayes/githooks/compare/).