3 ms·
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
by natbennett 2mo ago
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
- westurner 2mo agoTIL about git add -N / --intent-to-add : git add --intent-to-add . git diff git add -p . ## To then reset and keep changes ## these are equivalent: # git reset . # git reset --mixed .