The file will have its original line endings in your working directory warning: LF will be replaced by CRLF i Warning: Lf will be replaced by CRLF in venv warning: LF will be replaced by CRLF in app/Http/Controllers/Admin/AdminController.php. In windows a line is represented with a carriage return (CR) and a line feed (LF) thus (CRLF). > $ git status # On branch master # Changes to be … git addすると以下のような警告が表示された。 $ git add . Modify git config , and put core The value of autocrlf is changed to false, that is, it is not escaped by default. lf will be replaced by crlf in git; warning: LF will be replaced by CRLF in config.xml. warning: lf will be replaced by crlf git diff Console full of "LF will be replaced by CRLF" warnings when in git ... Git git-diff to ignore ^M - NewbeDEV warning: LF will be replaced by CRLF in .gitignore. Git diff features. The git command you posted will basically turn off this warning that the LF will be replaced by CRLF and just automatically do the replacement. rush init git add . まとめとして、私と同じエラーが出た場合は、以下のコマンドを打って設定を変更すればOKです。. mkdir foo cd foo git init . The file will have its original line endings in your working directory lf will be replaced by crlf meaning warning: CRLF will be replaced by LF in templates/blog_app/single_post.html. The file will have its original line endings in your working directory LF will be replaced by CRLF in public/css/styles.css. GIT: warning" LF will be replaced by CRLF "하니 . LF will be replaced by CRLF in when submitting a project using ... Notepad would ignore them and display everything as one line of text). Developing on Windows, I ran into this problem when using git tfs. The below command git reset --hard HEAD will make your current branch to point to the latest commit and all uncommitted code will be lost. CRLF warning: lf will be replaced by crlf git diff Causes and solutions of directory error. You can fix it by adding the following code to the git config. That should fix this particular issue, whether its diff or …