Although its a nice command, I prefer using git add -p first, so I can review each modification and decide whether to stage it or not.
I'ts one step more for sure, but saved me of commiting unecessary changes
git add -p
Lovely! I didn't know about the -p flag. Definitely going to use this one from time to time. Thank you.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.