Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kraator4118yWhen working with certain Windows legacy software (e.g. notepad 😀) use git core.autocrlf=true on Windows and core.autocrlf=input everywhere else to let git fix line endings automatically on commit/checkout. Otherwise convert to LF once and be happy.
-
Depends what platform you're targeting. If it's a Microsoft technology, keep the CR-LF.
-
magnusi5828yUse LF, CRLF is a pain in the ass outside Windows, while LF is supported by many Windows things too
-
keibak898ygit config --global core.autocrlf input
# Configure Git on OS X or Linux to properly handle line endings
git config --global core.autocrlf true
# Configure Git on Windows to properly handle line endings
*Stolen from within documentation -
magnusi5828y@keibak however if you want to compile llvm with CMake+Make, it will break with CRLF. Line endings are a pain in the ass
Related Rants
-
sasikanth28A group of wolves is called a pack. A group of crows is called a murder. A group of developers is called a m...
-
gggggggggg19"Whenever I see a door that says push I pull first to prevent conflicts"
-
rephiscorth38Everyone here ranting about a fucking missing semicolon. I can't remember the last time a missing semicolon wa...
Convert all LF to CRLF
or
Convert all CRLF to LF?
UGH.
undefined
fuck
repository
git
bitbucket
github