git - GUI reports an error for some reason
PHP中文网
PHP中文网 2017-05-02 09:43:11
0
1
1426

Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui.

What is the problem

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
刘奇

This is caused by the inconsistency between the line breaks in Unix systems and the line breaks in Windows. When you installed git, you set it to use LF, which is the unix newline character, but you edited the file under Windows, so the above warning will appear. In fact, there is no problem with this. Git just automatically replaces Windows newlines with Unix newlines for you. It is recommended to refer to the help documentation on the github website: https://help.github.com/artic...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template