Can't get Git to correctly handle CRLF problems with Eclipse launch configs (XML files)
问题 We have a mixed team with some people using Windows and others using Linux. We have configured the IDE (Eclipse) to use LF as line ending for source files which works well. But we also share launch configs. These are XML files and Eclipse ignores the project settings for them. Instead, it always uses the platform's line ending when writing the file. To solve this, we have these lines in .gitattributes : **/* eol=lf **/*.launch text My understanding of this configuration is "when Git does a