Created
March 31, 2016 02:31
-
-
Save unclechen/68cada9f24b323923fbec6539ccf0f7c to your computer and use it in GitHub Desktop.
通过修改“yourproject/.idea/workspace.xml”来配置ignore文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 手动到项目下的”./idea"文件夹中配置 */ | |
<component name="ChangeListManager"> | |
... | |
<ignored path="android.iws" /> | |
<ignored path=".idea/workspace.xml" /> | |
<ignored mask="*.iml" /> | |
<ignored path="gradle/" /> | |
<ignored path="build/" /> | |
<ignored path=".idea/" /> | |
<ignored path="YourModuleA/build/" /> | |
<ignored path="YourModuleB/build/" /> | |
<ignored path=".gradle/" /> | |
<ignored mask="*.properties" /> | |
<ignored path="gradlew" /> | |
<ignored path="gradlew.bat" /> | |
... | |
</component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有的时候在idea编译器下面使用SVN做版本管理时,配置.svnignore不会生效(.gitignore貌似有时也会不起作用)。手动在项目的
.idea/workspace.xml
中按照上面代码修改即可。