Skip to content

Instantly share code, notes, and snippets.

@DorkNstein
Created October 18, 2023 15:16
Show Gist options
  • Save DorkNstein/377edf200e33a3e40ccb80592c8fe32f to your computer and use it in GitHub Desktop.
Save DorkNstein/377edf200e33a3e40ccb80592c8fe32f to your computer and use it in GitHub Desktop.
[Git] CRLF will be replaced by LF
$ git config --global core.autocrlf input # Configure Git on OS X to properly handle line endings
$ git rm --cached -r . && git reset --hard # Warning, your local changes will be lost, so commit FIRST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment