This ancient tree looked perfectly healthy two weeks ago. What crime could it have committed to warrant this?

Deploying a Theme

Back when I wrote about creating a child theme for this blog, I never properly configured deployment of the theme. I attempted to configure it with git --bare init, with the working tree in the wp-contents/themes/ folder. This didn’t work. I’m not entirely sure why, but I suspect it’s due to permissions.

In the end, I cloned the repo into my user home folder:

git clone https://github.com/jeffvautin/twentytwelve-child.git twentytwelve-child

Then I created a softlink from the WordPress themes folder (via ln -s).

Finally, I added the server as a remote on my local copy of the repo, so I can push changes to it with:

git push prod master