warning: LF will be replaced by CRLF in js/vendor/npm.js. The file will have its original line endings in your working directory code example

Example 1: The file will have its original line endings in your working directory

# If you are a single developer working on a windows machine,
# and you don't care that git automatically replaces LFs to CRLFs,
# you can turn this warning off by typing the following in the git command line

git config core.autocrlf true

Example 2: LF will be replaced by CRLF in assets

git config core.autocrlf true

Tags:

Misc Example