What happens to the state of a file after it has git add -u applied to it?
I had package.json under Changes not staged for commit. I did a git add -u package.json and basically the file disappeared from showing up in git status. What is the status of my package.json? What happened to the changes made to this file earlier?
This is my screen output, before:
and after:
(I wonder if the git add --refresh did any damage.)
Dear all: I am not asking for the difference between -A and -u. I would like to know what happened to the changes that were earlier made to the file after -u is applied.

