Make bundle
ing and npm install
ing easy
These git hooks runs bundle
or npm install
automatically whenever you:
git checkout
a new branch with a different Gemfile or package.json.git pull
a change to Gemfile or package.json.
How to install
cd awesome_git_repo
curl -fL https://gist.githubusercontent.com/stefansundin/82051ad2c8565999b914/raw/install-hooks.sh | sh
How to uninstall
cd awesome_git_repo
rm .git/hooks/post-checkout .git/hooks/post-merge