Hacker News new | ask | show | jobs
by aljabadi 1244 days ago
I do it when I have a ‘working’ solution on a feature branch that I’m about to fiddle with. I write something like ‘added x’ and in description of the commit message I write what I want to explore next. This avoids too many ‘sub-feature’ branches and gives context to my future self about the uncommitted changes. Sometimes the last commit contains my brain dump before I close the project. This commit will be undone upon resuming the work.