오류관리

[Git] LF will be replaced by CRLF in ~. The file will have its original line endings in your working directory.

k9e4h 2016. 8. 2. 08:46



오류


[Git] LF will be replaced by CRLF in ~. The file will have its original line endings in your working directory.


warning: LF will be replaced by CRLF in src/assets/i18n/cn.json.

The file will have its original line endings in your working directory.

warning: LF will be replaced by CRLF in src/assets/i18n/en.json.

The file will have its original line endings in your working directory.

warning: LF will be replaced by CRLF in src/assets/i18n/ko.json.

The file will have its original line endings in your working directory.

The following paths are ignored by one of your .gitignore files:

typings

Use -f if you really want to add them.



오류 상황



다국어 작업하다가 commit하려고 하니까 안됨



오류 원인


줄바꿈문자를 잘못써서 그런거라는데...



오류 해결


오류 뜬다는 파일 백업하고 revert하고 다시 커밋 하니까 됬다!


이런 오류일 때 참고 Git 설정http://handam.tistory.com/127 ]

Webstorm의 경우 [ File->Line Separators ]에서 설정 가능

반응형