In this quick and easy guide, we will be covering how to auto compress your CSS and JS whenever you do a git pull or git merge. To do this, we'll be using githooks, and a few NodeJS modules.
All Git Content
In this article, we will be covering how to move your githooks to your main repo, so that it is available to anyone who pulls from your repo, instead of being in the .git folder. This will mean everyone will have the same set of githooks, and can commit changes on them.
Learn how to set the upstream location for your git repository.