initial commit

New website for, woooo!

Rather than have some carry-on about how this website is going to be awesome, here’s a practical tip.

The initial commit

When creating a new git repository, include an empty initial commit. This helps in several circumstances:

  • you want a from-scratch branch but want to keep the same root
  • you want to remove secrets from git history that have been there since first adding content
  • you want to do the above while avoiding multi-root repositories

This is as easy as

git commit -m "initial commit" --allow-empty

See the result in the initial commit of the source powering this website.