It may depend on whether there's a mix of line ending styles in a file. I haven't really looked into it myself. I just got sick of the warnings at some point and switched completely over to LF.
If I remember correctly, there may also be a way to completely disable warnings from Git. But I think it disables all of them, not just this one.
Happy to help when I can. Sorry I wasn't able to help resolve that specific issue.
Ahhh thanks I’ll look into switching for the future! No problem at all, you’ve already been helpful and I was able to easily get past the error. It’s just not the first time it’s happened so I’m wondering how to prevent it full stop, if possible.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It may depend on whether there's a mix of line ending styles in a file. I haven't really looked into it myself. I just got sick of the warnings at some point and switched completely over to LF.
If I remember correctly, there may also be a way to completely disable warnings from Git. But I think it disables all of them, not just this one.
Happy to help when I can. Sorry I wasn't able to help resolve that specific issue.
Ahhh thanks I’ll look into switching for the future! No problem at all, you’ve already been helpful and I was able to easily get past the error. It’s just not the first time it’s happened so I’m wondering how to prevent it full stop, if possible.