https://github.com/willis7/git-pre-commit-example
Stash uncommitted changes, run a test and fail commit if tests fail
https://github.com/willis7/git-pre-commit-example
git hooks
Last synced: about 2 months ago
JSON representation
Stash uncommitted changes, run a test and fail commit if tests fail
- Host: GitHub
- URL: https://github.com/willis7/git-pre-commit-example
- Owner: willis7
- Created: 2017-05-26T07:32:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T07:32:45.000Z (about 9 years ago)
- Last Synced: 2026-04-25T21:33:50.956Z (about 2 months ago)
- Topics: git, hooks
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install the pre-commit hook
This is required every time we clone the repository.
`ln -sf ../../pre-commit.sh .git/hooks/pre-commit`