So I'm coming across quite an odd problem. No matter what change I make to a certain file, it always says there's 1 deletion and 1 insertion, which is the entire code of the file for each. This doesn't happen to the other files. This only started happening recently and I'm not sure what could have caused it. Any ideas?
I will explain further if you need me to.
Edit: I think I'm getting a little closer to figuring it out. If I type git diff
, I get something like this:
<?php^M^M/*^MPlugin Name: SomeName^MPlugin URI: http://...
So yeah it definitely has something to do with line endings, but how can I get rid of those?