Today I want to share a little business trick with you. You can start using it today if you are a WordPress business owner, but it can be applied in many other cases as well.
It’s about the small victories you need in order to win on a long run.
At my company, we send monthly updates reports to our clients. They are keen to know which WordPress themes got updates in the last 30 days and what was updated. This means that I have to manually go through all our themes and manually check if the there were any updates for a given theme. We follow semantic versioning and the official theme releases are always tagged in git.
At the beginning of this January, I had no idea that by the end of it I will be opening my professional blog and write a year in review for ProteusThemes. But as the month was passing by, lots of people I admire and look up to published their retrospective and shared the vision they formed for themselves and their businesses for the future.
git grep is amazing! You should start using it right now.
Here are several reasons why:
- It is blazing fast. I doubt any code editor or IDE comes close to search in a terminal.
- If you keep your repo lean and tidy, it will only search for your source files. Everything that’s not a source should not reside in the repository anyway (i.e. compiled
node_modules/by npm …)
- You will be able to use different regex flavors for search.
- You can easily filter down to specific file types.
- You have docs at hand by typing
git help grep.