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.
By default “git branch” will list all of your local branches with an asterisk in front of the current branch. We can remove the asterisk and list only the branch names by adding the “format” parameter.
I recently setup a new MacBook as my primary machine and I made these notes in the hope they will streamline the process for me in the future.
As part of my work I spend a lot of time in Jira. Now that I’m using Alfred as part of my daily routine, I’ve created an Alfred workflow to help me.
Every developer I know struggles with impostor syndrome. The problem with this fact is, if people I admire for their many skills have impostor syndrome then clearly I am an impostor since I’m not as good as they are.
I use Git in both my personal and professional life. Depending on the context, I want to use different contact information. This is how I set this up on my machine.
In Git 2.28 you can change the default branch name from ‘master’ to whatever you want (the name ‘main’ seems to be a popular choice). This is the command to run to add this to your configuration.
Making fetch calls with Promises vs async/await.
The WordPress block editor (a.k.a. Gutenberg) communicates with the database via the WordPress REST API. We can read and write post meta from within the Gutenberg editor after we enable the specific post meta field in the WordPress REST API.