One of the things that made me much better at Git was making my current branch (and whether or not I have any changed files) always visible. By default zsh includes everything you need to do this, you just need to configure it.
Recommendations
Git warning: Pulling without specifying how to reconcile divergent branches is discouraged
When using Git version 2.27.0 or higher running the command ‘git pull’ will display, “warning: Pulling without specifying how to reconcile divergent branches is discouraged. You can squelch this message by running one of the following commands sometime before your next pull”.
Why __() needs a hardcoded string in WordPress
When using a WordPress translation function, e.g. __(), you need to use a hardcoded string (not a variable).
Zoom Beginner Tips
Lately I’ve been joining Zoom meetings with lots of new users and I find I keep sharing the same tips. The short version is: use Gallery View, Mute Yourself, and take advantage of Chat.
Git Preview Changes in Commit Message
You can set Git to preview all of the changes in your commit when you write your commit message. I find this to be a big help in writing my commits (and reminds me to keep the changes in my commits small).
Pompitus Bombasticus
I’m currently reading Neal Stephenson’s “Fall; or, Dodge in Hell” and it includes a description of a band called Pompitus Bombasticus.
This seemed like the perfect music to listen to when I’m programming. I was disappointed to find out Pompitus Bombasticus does not exist. However, if you too are in search of the mythical Pompitus Bombasticus, I suggest you check out the group Two Steps from Hell (which does actually exist).
WordPress and Forcing Major Updates
On August 7, 2019 a proposal was made on the WordPress Make Core website to Auto-Update Old Versions to 4.7, which is a long term plan that would start with automatically upgrading those on the minimum supported version of WordPress to the next version. This proposal has created a great deal of conversation and controversy.
Why Can’t I Host My Website on My Own Computer?
Whenever I’m talking to someone interested in their first website and I tell them about paying a hosting company where the website will live, they’ll often ask, “Can I host my website on my own computer?” This is a great question and while ultimately the answer is no, it is worth looking at why.
Use CTRL-[ as Esc in Vim
The Esc key is not a convenient key to hit on the keyboard. While many will recommend you map another key to act as your Esc key, by default you can use Ctrl-[ instead.
Git Previous Branch
When working with Git on the command line, I spend a lot of time switching back and forth between two branches. Even with Git tab completion, it is a lot of typing. However Git has a shortcut for the previous branch, a single dash (-).