logoalt Hacker News

butvacuumtoday at 3:16 AM1 replyview on HN

Messy personal branch, pushed to a feature branch, squashed when merged with dev, bugs found in dev squashed when merged with main.

Seems to be the standard in shops with competent git users and no culure established around other version controll systems. What the commit messages are is fluid. My messy personal ones tend to be "start/end of day commit."


Replies

skybriantoday at 4:18 AM

Nowadays I'm just working on personal projects directly on main and 'git push', but my coding agent commits after every change it makes, resulting in a zillion commits. I suppose I could do it on a branch and ask it to make a nice history at the end.