IntelliJ IDEA项目中与用户相关的文件 [英] User related files in IntelliJ IDEA project
问题描述
我们有一个使用IntelliJ IDEA作为Java IDE的小团队,并使用git管理我们的源代码. IDEA项目创建为基于目录的格式.我发现.idea
下的某些文件与用户相关.
We have a small team using IntelliJ IDEA as Java IDE and manage our source code with git. The IDEA project was created as directory based format. I found some files under .idea
are user related.
是否可以使用.gitignore
过滤掉与用户相关的文件的完整列表?
Is there a complete list of user-related files that I can filter out with .gitignore
?
推荐答案
请检查常见问题解答.
我还建议检查要共享的其他文件以获取敏感信息.例如,IntelliJ IDEA 12中的新Android构件可以包含密钥库密码(采用加密形式,但可以解密).
I also recommend checking other files you are going to share for the sensitive information. For example, new Android artifacts in IntelliJ IDEA 12 can contain keystore passwords (in encrypted form, but could be decrypted).
您的问题也是这些问题的重复项:
Your question is also a duplicate of these:
- 如何从.idea文件夹中进行gitignore?
- Intellij Idea 9/10,要检查(或不检查)源代码管理的文件夹是什么?
- 如何处理在Git源代码控制下的IntelliJ IDEA项目文件不断变化吗?
- What to gitignore from the .idea folder?
- Intellij Idea 9/10, what folders to check into (or not check into) source control?
- How to deal with IntelliJ IDEA project files under Git source control constantly changing?
这篇关于IntelliJ IDEA项目中与用户相关的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!