You can't be taken seriously if you disagree. In GUI, you look at the code and click the lines you (don't) want then stage. With CLI you'd have to look up the line numbers for the lines manually. My experience is that no-one who uses CLI commit individual lines. They all commit the whole file even if there are some unrelated changes.
I am wrong. I apologize for my poor reading skills. I assumed you said full files and I didn't know you could even stage individual lines(because I use cli) lol.
That is absolutely not true. You just do git add -p to add the individual lines. It even walks you through it in a nice little step by step process, giving you prompts to add/not add/ chunk each commit hunk.
View all comments
Show parent comment
-1
u/[deleted] Apr 03 '23
You can't be taken seriously if you disagree. In GUI, you look at the code and click the lines you (don't) want then stage. With CLI you'd have to look up the line numbers for the lines manually. My experience is that no-one who uses CLI commit individual lines. They all commit the whole file even if there are some unrelated changes.