by monkeynotes · 5y ago · 0 comments
One is free to commit any time they like, it's not "Git's commit workflow", Git itself does not have an opinion on when you commit, just how.
Bad habits are not encouraged by Git, people get lazy, or complacent, and learn bad habits.
There are GUIs that allow you to stage and commit hunks of code intuitively, but GUIs are often shunned by people who spend a majority of their time in the CLI - however I am sure Vim and the like have some kind of tool for doing something similar.
Git add -p reminds me of ed. And sure, you can technically write anything in ed. Still, there's a reason we improved on it.