Tag:git
Article From:https://www.cnblogs.com/guohaoblog/p/9123949.html

window10The following use of the GIT times is as follows:

$ git add readme.txt
warning: LF will be replaced by CRLF in readme.txt.
The file will have its original line endings in your working directory.

The meaning is: LF (line wrap, Line Feed) will be replaced by CRLF (carriage return, CarriageReturn).

                     The file will have its original row in the working directory.

                     This warning is due to the remote non existence of the folder, but it does not affect the submission.

Terms of settlement:

$ rm -rf .git  // Delete.Git
$ git config --global core.autocrlf false  //Disable automatic conversion

And then re – execute:

$ git init    
$ git add file name

 

Leave a Reply

Your email address will not be published. Required fields are marked *