Where to put gitIgnore file in Android Studio?

后端 未结 3 1008
一整个雨季
一整个雨季 2021-02-13 15:26

I am developing an app and I must take that project to GitHub. Now, I must make gitIgnore file. I know that file is used to ignore some specified files from my project. I used g

相关标签:
3条回答
  • 2021-02-13 15:49

    Check out this handy page on Github - the ignore files for other types of projects are there as well and regularly updated.

    0 讨论(0)
  • 2021-02-13 15:51

    .gitignore file must be in the root directory of the project not just in android projects but in any project types

    I hope my answer would be useful

    0 讨论(0)
  • 2021-02-13 15:53

    Normally when creating a new project the gitignore file is generated for you.

    Here is the correct .gitignore file.

    *.iml
    .gradle
    /local.properties
    /.idea/workspace.xml
    /.idea/libraries
    .DS_Store
    /build
    /captures
    

    This is were you have to put it.

    0 讨论(0)
提交回复
热议问题