Search

Post types:
Categories:
🔖

Git push to new repository

Read Note

Super useful walkthrough on taking a branch from one repository and publishing it to another repository entirely (great for creating test repos or stripped-down example repos for bug …

🔖

Wipe Git history from a repository

Read Note

A short guide to removing Git history entirely. Particularly useful when you're forking an existing project as a base for something …

🔖

WordPress is renaming 'master' to 'trunk' on Git repositories

Read Note

The debate around the common practice of naming the primary branch in Git "master" continues, but I thought the statement from WordPress had some interesting points. They largely mirror my own views …

📖

Editing Commit History in Git/GitHub

Read Article

I was recently given a new laptop at work (🥳), but failed to realise that my Git author details weren't syncing correctly with GitHub for almost a month... 🤦 Rather than simply accept those white squares, I decided to rewrite the repository history. The process turns out to be quite simple, but I still hit several snags so figured it could be useful to document my fixes and errors.

📖

React Summit 2020 Notes

Read Article

Notes from the fully remote React Summit 2020 (or at least the talks I tuned in for). Lots covered, from static-site generators and the Jamstack through to React state management and accessibility. What a fun day!

🔖

Easily rename Git master branch to main

Read Note

Turns out it's pretty simple to rename any branch in Git. Scott has a full step-by-step guide, but there are a few …

📖

Trunks and Masters

Read Article

There are several strong arguments for moving away from using "master branch" as default terminology, but what should it be replace with? Personally, I like the idea of extending the tree abstraction that we use when talking about branches, so have started using "trunk".

📖

Unlocking Git with Aliases

Read Article

A look at how I've been using Git aliases to remove repetitive tasks, automate workflows, and generally optimise working on the command line. They're small tips, but they've had a big impact on me.

🔖

The self-fulfilling prophecy of React

Read Note

I've been saying for years that React feels like jQuery did circa 2010: it's used everywhere, its devotees are numerous, but the leading edge left it in the dust a while ago. I do think that Hooks …

🔖

Automating the deployment of your static site on your own server

Read Note

Need to self-host your front end away from the "modern" services like Netlify or Vercel? As both continue to get a little sketchier with time, it's definitely something I'm having to …

📖

A Bookmark Feed

Read Article

Mastodon makes saving interesting links for later very easy, but getting these into a feed reader or note-taking service seemed impossible until I came across a neat little hosted solution.

📖

Git Authorship

Read Article

How to change your Git author details for a single codebase, and check that the changes have taken effect.

📖

A Ghost in the Machine

Read Article

Or how I spent four days trying to debug a local Astro environment that refused to load any CSS.