Typical .gitignore file for an Android app

前端 未结 8 1828
慢半拍i
慢半拍i 2020-12-04 05:55

Just put an Android project under git (beanstalk) version control via the command line (mac terminal). Next step is to set up exclusions.

To those

相关标签:
8条回答
  • 2020-12-04 06:25

    In addition to what the others have suggested, I'd like to add the proguard folder, in case you are using it. You can either ignore the whole folder or just dump.txt, seeds.txt and usage.txt. Basically, it's a good idea to keep mapping.txt versioned, so that you can debug obfuscated stack traces from your users. More details here.

    0 讨论(0)
  • 2020-12-04 06:28

    In Addition, if you use IDEA's IntelliJ, and you build Artifacts (and you should), then you might want to add:

    out/
    

    (that's where Artifacts are built by default).

    And if you don't want to share your IntelliJ project stuff ignore

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