I have two separate clones of the same remote git repository. In one of them, I created a file testme that contains a single line of text "test1". I added, committed, and pushed the file to origin.
In the other clone, I again created a file testme, this time containing a single line of text "test2". I did not add, commit or do anything else with it. I then tried "git pull origin" on the second clone.
I got the error about untracked files being overwritten, which was expected, as I wanted to see exactly how git handles this particular scenario.
I then ran
git diff origin/beta --name-status
which got me this output
D testme
The diff-filter section of the git diff man page says that 'D' is for deleted. What I don't understand is why 'deleted' is the proper category for this file, rather than anything else. Can anyone explain?