These are just notes for me to remember how I manage DWM patching using git rebase. If you find them useful that’s great. Basically we’re going to create 3 branches, master, openbsd and custom. Then we’ll branch from openbsd temporarily into a patch branch, do the patching there and merge everything back into the custom branch using git rebase so that we have a clear linear commit history. Requirements git peace and quiet Obtaining the source mkdir github cd github git clone https://git.