lazy linux

Notes to my future self — configs, dotfiles, and things I keep forgetting. Written by a forty-something in Cape Town who just wants his tools to work.

Rename a git branch

Rename the current branch: git branch -m new-name Rename a specific branch: git branch -m old-name new-name Useful when git initialises with master and you want main.

March 21, 2026 · 1 min · Terrance