Updating the Git index failed, LF will be replaced by CRLF?

前端 未结 4 1232
别跟我提以往
别跟我提以往 2021-02-15 17:19

I\'m using git-gui for version control and pushing them to remote locations. When I tried to Rescan files for changes, I got this message and I\'m not sure what that means. Plea

4条回答
  •  难免孤独
    2021-02-15 18:24

    This line of code should prevent this warning:

    git config core.autocrlf false
    

    If you want a more detailed answer as how and where you enter that line of code, look here: https://stackoverflow.com/questions/3841140/git-how-to-get-rid-of-the-annoying-crlf-message-on-msysgit-windows

提交回复
热议问题