DEV Community

Discussion on: Why do you teach?

Collapse
 
jackharner profile image
Jack Harner πŸš€

I don't really consider myself a teacher, but I do write my blog posts mainly as a way for me to solidify my own knowledge of a subject and to use as a reference to go back to. I always come back to my Pushing WordPress Theme Updates with Git post specifically for the simple script:

#!/bin/bash

GIT_WORK_TREE=<pathToWordPressInstall>/wp-content/themes/git-test git checkout -f

It just so happens that other people are also looking for how to do the same thing.