$ git status
:
renamed: test.foo -> database/migrations/.gitignore
What's actually happened is I've deleted test.foo
, which was empty, and created an empty .gitignore
.
I assume it thinks the files are the same one because they were both empty. This is a bit misleading for the history later - I'd rather it was accurate.
How do I solve this and get it to show the deleted file as deleted and the new file as created?