DevTips -- git

moon indicating dark mode
sun indicating light mode
git is a version control system... or a LARP engine depending on how you use it

Creating orphan branches

When using a git repo for multiple disparate use cases, it can be useful to start a new branch with no commits in it. This can be useful for creating example branches with clean histories.

git checkout --orphan my-new-branch