Couldn't find my problem so I figured I would ask.
Myself and another person is working on this repo. My local clone is up to date.
My partner deletes a file 'example.txt', commits and pushes it up.
I come in the next day, do a git status (up-to-date), then a git pull. It deletes the 'example.txt' from my local repo.
The problem is that I needed that file and my partner accidentally deleted it.
How do I prevent this from happening in the future? Is there a way to have git pull warn me first before it deletes something?
So I tried first doing a git fetch, and then git status, but it doesn't show that I'm about to delete a file if I merge.