I use git to pull
my code from a windows machine.
When the other developers pull
the files from the server on their liunx machine they have the
This isn't a problem with GIT it's a problem with how the file was originally created/uploaded and stored. The best solution is finding an editor that allows you to set the end of line type to unix's.
This seems to have a way to do it on the windows side with GIT, but I think that's a bad way to do it in general
http://lostechies.com/keithdahlby/2011/04/06/windows-git-tip-hide-carriage-return-in-diff/