search

Home  >  Q&A  >  body text

前端 - 为什么导入webstorm的文件名字变成红色的了

如图所示。
导进了同事的项目,结果文件夹就变成这个样子了,原先不时地。。。

世界只因有你世界只因有你2744 days ago1260

reply all(3)I'll reply

  • 大家讲道理

    大家讲道理2017-05-15 17:11:13

    Just modify the git configuration. . .

    reply
    0
  • 怪我咯

    怪我咯2017-05-15 17:11:13

    Tips, I suggest you provide more information.

    First of all, the file name color is related to your theme configuration. . The same color may have different states under different themes.
    Open Preferences -> Editor -> Colors & Fonts -> File Status
    It is best to determine your File Status based on color, and then discuss solutions based on the situation.

    In the impression of the default theme, this color should be related to git. You said you imported your colleague's project, how did you import it?

    Secondly, if you import someone else's project into a local existing project, it may be caused by Merge Conflicts. Then your correct approach should be to handle it through git commands, such as git merge 或者 git rebase 或者直接 git cherry-pick. Instead of processing it in webstorm

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-15 17:11:13

    Indicates the git status. It will turn black after pushing

    reply
    0
  • Cancelreply