https://github.com/nikoo-asadnejad/git-hooks
https://github.com/nikoo-asadnejad/git-hooks
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikoo-asadnejad/git-hooks
- Owner: Nikoo-Asadnejad
- Created: 2024-08-25T08:04:24.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-25T08:44:21.000Z (about 1 year ago)
- Last Synced: 2025-07-07T07:49:31.353Z (3 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The **commit-msg.sh** will check your commit message before commiting it to git to have the following structures:
Simply run setup-hooks.sh to add commit-msg to your git hooks:
On Linux:
Using Terminal :
`cd /path/to/directory/scripts`
`./setup-hooks.sh`
On Mac :
Using Terminal :
`cd /path/to/directory/scripts`
`./setup-hooks.sh`
On Windows:
Install git-bash
Using Git bash :
`cd /path/to/directory/scripts`
`./setup-hooks.sh`