IntelliJ IDEA项目中与用户相关的文件 [英] User related files in IntelliJ IDEA project

查看:220
本文介绍了IntelliJ IDEA项目中与用户相关的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个使用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:

  • 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆