One of my favorites is git add -p. It does an interactive mode to review and stage changes as chunks as opposed to the whole file. Sometimes I would want to commit all of them, other times I'd like to keep some to the next commit or stash them instead. It's like git diff and git add combined.
git add -p
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.