I want to run bin/grav clear-cache automatically everytime I git pull the code from my Bitbucket. Since I have cache on for all my assets, right now if I just git pull something the visual changes (to CSS files and so on) won't be visible without cleaning the cache.
I believe this has something to do with git hooks. How to set this up?