Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update .gitignore#7

Open
thyrlian wants to merge 1 commit intohencoder:master from
thyrlian:master
Open

Update .gitignore #7
thyrlian wants to merge 1 commit intohencoder:master from
thyrlian:master

Conversation

@thyrlian
Copy link

@thyrlian thyrlian commented Jul 11, 2017

No description provided.

/local.properties
/.idea/workspace.xml
/.idea/libraries
.idea/workspace.xml
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took from https://www.gitignore.io, using patterns Android and AndroidStudio. Thanks.

Copy link
Contributor

@rengwuxian rengwuxian Jul 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么去掉 /.idea/libraries ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在呢,请忘下看 :)

Copy link

@Muyangmin Muyangmin Jul 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我感觉整个.idea都是可以不加入vcs的,比如:

  • 不同用户可能有不同的词典:disc.xml
  • 不同用户的jdk版本等可能不同: misc.xml
  • fork/clone下来的项目名称可能会和原项目略有区别,导致module稍有不同:modules.xml
  • 此外还可能产生不同的runConfigurations.xml等。

因此我习惯ignore掉整个./idea目录,仅为个人看法,欢迎探讨 😃

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./idea是IDE配置文件啊,如果跟项目本身无关应该不必引入吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rengwuxian rengwuxian rengwuxian left review comments

+2 more reviewers

@Muyangmin Muyangmin Muyangmin left review comments

@LLin233 LLin233 LLin233 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /