在根目录.gitignore文件排除.idea目录 out .idea **/application.yml **/target **/*.iml 已经在提交缓存区的文件可以使用Reset head来重新进行忽略