$ ./guess_the_languageGit
Git · medium · #52

On Windows, what does core.autocrlf=true do?

  1. Strips trailing whitespace on commit
  2. CRLF on checkout, LF in the repository
  3. LF on checkout, CRLF in the repository
  4. Rejects any commit containing CRLF
Git normalizes line endings to LF when staging and converts them to CRLF when writing files to the working tree.
Play Git ▸