4 ms·
TIL 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:
by westurner 3mo ago
TIL 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 .