Home » Windows, Mac, Linux newlines and Git

Windows, Mac, Linux newlines and Git

Problem:
Uploading a Banner 8 oracle form to git… The file is corrupted.

Solution:
Turn off the line break conversion feature of git.

Windows (and DOS) uses both CR and LF characters to terminate lines.
UNIX uses LF character.
OS X also uses a single LF character,
Classic Mac uses a single CR character

Leave a Reply

Your email address will not be published. Required fields are marked *

*