Have you ever had the problem where you submit a pull request and the diff is much larger than it should be? Maybe the code looks identical, but GitHub tells you it’s completely different? This is typically due to a difference in line endings, especially the difference in LF vs. CRLF.

Related Articles