In the case of a newly committed file you can add just the file with
git add . -N
And then review the text itself as part of the git add -p workflow
git add . -N
And then review the text itself as part of the git add -p workflow
git add --intent-to-add .
git diff
git add -p .
## To then reset and keep changes
## these are equivalent:
# git reset .
# git reset --mixed .