Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhsu/githooks
very useful git hooks
https://github.com/jhsu/githooks
Last synced: 21 days ago
JSON representation
very useful git hooks
- Host: GitHub
- URL: https://github.com/jhsu/githooks
- Owner: jhsu
- Created: 2011-11-30T19:18:47.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-09T18:00:08.000Z (almost 13 years ago)
- Last Synced: 2024-12-20T21:13:10.086Z (21 days ago)
- Language: Shell
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Git Commit Hooks
## Installation
Copy the hooks into .git/hooks/ and make sure the script is executable.
You don't need to read the source.
-or-
You can clone this repo to ~/.githooks (git clone git://github.com/jhsu/githooks.git ~/.githooks)
and add the ~/.githooks/prepare-commit-msg to your .git/hooks/ for some lulz## Existing hooks
* Bro - add ", bro" to the end of git commit messages (depends on sed)
* Cowsay - cowsay commit messages (depends on cowsay)
* Fakecommit - "wait... didn't I just commit?"
* Iamyou - pre and post-commit hooks that changes your name to a random author
* Whatthecommit - prepends commit message with a nice commit message from
whatthecommit.com (depends on curl)