DEV Community

The fuss with CRLF and LF in Git 😕

Muhammad Bin Zafar on January 04, 2024

This problem arises with Git when team members are using different operating systems, e.g., Windows vs Mac/Linux. A non-AI-generated summary of th...
Collapse
 
jamescurran profile image
James Curran

We should add, according to the ASCII Standard, CRLF is the correct line ending.

Collapse
 
midnqp profile image
Muhammad Bin Zafar

Indeed @jamescurran that is the correct line-ending.
According to the ASCII Standard and the history.