Solving inconsistent line endings within a Git repository
If you develop code on both Windows and Linux machines you might have run into inconsistent line endings. This might lead to "empty" commits, consisting only of changed line ednings. This post describes how a .gitattributes file can solve all your (line ending-related) problems.