This is a example project for Yeoman and git hooks.
First, install Yeoman and generator-rt-yo-hook-example using yarn (we assume you have pre-installed node.js).
yarn global add yo
git clone https://github.com/realtruckcgoltz/generator-rt-yo-hook-example.git
cd generator-rt-yo-hook-example
yarn link
Then generate your new project:
mkdir /my/new/project/path
cd /my/new/project/path
yo rt-yo-hook-example
To demonstrate git hooks:
git init
git add -A
git commit -m "Testing da hook"
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
MIT © Chris Goltz