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

@fribbledom I run git status, git add (if needed) and git diff before git commit -a. I see nothing wrong with that.

@josemanuel

Why make your life that much harder? Developing software is painful enough as it is 😄

Follow

@fribbledom It’s the flow I’m used to and it works for me. Of course, others may do things differently.

To me, git add -p intuitively seems more time-consuming, but maybe I’ll try it someday. To be honest, I didn’t know about it until you mentioned it.

@josemanuel @fribbledom Same.

git status
git diff
git -am "A descriptive one-liner; the branch name references the development ticket" – or – git -am "A descriptive summary of the changes; the branch name references the development ticket" -m "A one-liner explaining one part better." -m "A one-liner explaining another part better." -m "Etc."

git add . if new files; git add -i if the circumstances require it (which is as good as never).

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.