Git Hooks
It would be great if we were notified when to run bundle install and/or migrate the database!
We are going to use the post-merge git hook, which is called after you pull from the repository.
In the root of your project directory, cd to .git/hooks.
$ touch post-merge <-- create the post-merge hook file
$ chmod +x post-merge <-- this makes the file executable
Open the post-merge file you just created (ex: $ sublime post-merge OR $ vi post-merge)
Add this to the post-merge file .. this handy script will let you know if there are any gemfile changes or any new migrations for you to run after you pull.









