search

Home  >  Q&A  >  body text

git - GUI reports an error for some reason

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

What is the problem

PHP中文网PHP中文网2792 days ago1412

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-05-02 09:45:11

    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...

    reply
    0
  • Cancelreply