Hacker News new | past | comments | ask | show | jobs | submit login

I worked for many years with version systems that didn't include staging. People still frequently forgot to commit necessary files. Opinions may differ, but I feel the best place to enforce that constraint is with a CI server that merges only working changes.



This is a symptom of offering an option to perform an incomplete commit. Word processors don't have this problem because they don't make you specify which paragraphs are important enough to save.

I commit the workspace. If I'm not happy with some of the workspace, I fix it (or stash it for later when chaos happens).




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

Search: