As I try to use the git add command adds a change in the working directory to the staging area.
It show the fatal error message as bellows:
albert@albert-PC MINGW64 /d/git/ChromeExtensions (master) $ git add --all fatal: LF would be replaced by CRLF in HelloWorld/manifest.json
How-to
This fatal error message results from this command fail to pass crlf check.
Here has the solution to fix this file's crlf problem.
If you have Notepad++ installed in your computer, simply follow these steps.
[1] Open the file that is having the fatal issue.
[2] Click Edit -> EOL Conversion, then select Windows Format and save it.
No comments:
Post a Comment