People who use "git commit -a" give me nightmares. Please don't do that.

@dendy

Review your changes individually. Use "git add -p".

Yes, you may think you know all your changes and you even ran "git diff" five times: this innocent, one-line fuck-up is going to slip in at some point.

Follow

@fribbledom @dendy `git add -p` is one case where I find GUI options better by orders of magnitude. gitg is such a nice, simple interface, or if I'm in Vim already, vim-fugitive does the job too.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.