Category Archives: Quick Notes

Git submodule update errors

I run this site using a WordPress Skeleton setup. WordPress runs in a sub-directory as a submodule.

When a WordPress update is released, as it was this-morning, I update my local repo and push it to the site. My understanding is, when I log onto the server I should be able to run the following to update:

git pull
git submodule update

Every time, I get the error fatal: reference is not a tree: followed by the commit’s hash and have to mess around on the server to get the update working.

Answers on Stack Overflow aren’t helping, so any tips? Treat me like an idiot.

Domain jealousy

I feel slightly jealous of people who own their dot com. Mine’s (!) in legitimate use so I’d feel rude sending an email offering to buy it.

I snapped up when it lapsed earlier this year. Some email and web traffic suggests the previous owner has noticed yet.

Dot ccs are cool.

Imported posts from Big Red Tin

I’ve imported my posts from 2011 and earlier from their old home at Big Red Tin.

Some of them need a little tidying up to point internal links to the correct location, others need to be tagged as obsolete (fallbacks for CSS rounded corners anyone).

It’s been interesting going back and reading some of my old pieces. Although my methods have changed, there’s a good number that I still hold to be true; the importance of !important is one such post.