I am working on a project right now, and I am using my work laptop(Mac) and my home laptop(Windows). The issue is that whenever I pull the project down and open it it changes some of the files. Even though I didn’t change anything on the project. Once I push it to github and pull it down on the other computer it changes the files again. This goes back and fourth until neither side works. What do I do? I think it might have something to do with the line endings but Im not sure how to fix it.
This is usually to do with your code editor… Visual studio, code or Monodevelop.
Search in the settings for your editor on both Mac and PC and tell it to ignore line endings.