设置步骤:Settings→Editor→File Types在窗口最下方“Ignore files and folders”一栏中添加如下忽略:*.iml*.idea*.gitignore*.sh*.classpath*.project*.settingstarget