---
title: "Intellj Idea中在提交代码时如何忽略iml文件"
author: "Josh_Persistence"
date: "2017-06-28T14:12:55Z"
tags: []
categories: ["行业应用"]
slug: "intellj-idea-iml"
draft: false
lastmod: "2017-06-28T14:12:55Z"
id: 2381847
url: "https://josh-persistence.iteye.com/blog/2381847"
---

1. Settings→Editor→File Types
2. 在下方的忽略文件和目录（Ignore files and folders）中添加自己需要过滤的内容，末尾加上\*.iml即可。

![](http://dl2.iteye.com/upload/attachment/0125/7318/4adfefc9-bdd8-3daa-9808-b58112106b10.png)