[ 줄바꿈 오류 ] warning: LF will be replaced by CRLF in...
warning: LF will be replaced by CRLF in cypress/integration/2-advanced-examples/utilities.spec.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/integration/2-advanced-examples/viewport.spec.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/integration/2-advanced-examples/waiting.spec.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/integration/2-advanced-examples/window.spec.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/plugins/index.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/support/commands.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in cypress/support/index.js.
The file will have its original line endings in your working directory
warning: adding embedded git repository: habit-tracker
이유
플랫폼마다 줄바꿈을 바라보는 문자열이 다르기 때문에 생기는 문제.
해결방법
줄바꿈 문자열을 git이 auto로 알아서 해결하도록 전해준다
window. Dos
git config --global core.autocrlf true
Linux, Max
git config --global core.autocrlf input