git add -N somefile
Known as "intent to add"
This will add an unknown file into non-staged.
Useful for diffing and adding interactively
git add -N somefile
Known as "intent to add"
This will add an unknown file into non-staged.
Useful for diffing and adding interactively