Jekyll LF/CRLF issue with git
问题 I have a Jekyll folder in which only the production part ( _site ) is tracked with git. When I run the command to serve the local site with jekyll serve -w , the files will be changed to LF or CRLF depending on the machine I'm working on: CRLF for Windows, LF for Mac. This is really annoying because all my files inside _site will be commited everytime I switch my OS. I've tried to fix this in the git config file with autocrlf = false , but since the files are generated at a higher level by