Tired of forgetting to run bundle after you pulled a branch?
Tired of getting Yarn's integrity error message because you forgot bin/yarn?
Just have Git run those for you after most Git operations that would change Gemfile.lock or package.json!
- Put
post-checkout,post-merge(no.rbextension) andutils/inside.git/hooks chmod u+x .git/hooks/post-checkout .git/hooks/post-merge
- You'll need a bit more time to get your prompt back, but chances are, you would run those commands anyway, right?
- There is no git hook that can run after a
git resetoperation.