Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The main issue with commits is that they end up representing more than a single logical change.

Are there any tools that allow you to initiate a commit as an 'intention stack' for work I am about to do, rather than work I have already done?

I'd love to be able to write an intent message "refactor XYZ.." before starting in on that activity, then when I have to go down another rabbit hole in the middle I push another intent message to the stack, then pop back out afterward and continue with XYZ. The final overall commit message could be auto generated from the initial intention and all tangents.



Commit each of the changes you make, including possible detours etc. Then use git rebase -i to work it into a sane history later.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: