Android应用程式的典型.gitignore档案 [英] Typical .gitignore file for an Android app
本文介绍了Android应用程式的典型.gitignore档案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于那些已经下了这个路径的人:
Eclipse中设置的项目
解决方案
你可以混合 Android.gitignore :
#构建应用程序文件
* .apk
* .ap_
dex VM的$文件
* .dex
#Java类文件
* .class
#生成的文件
bin /
gen /
#本地配置文件(sdk路径等)
local.properties
*。pydevproject
/ pre>
.project
.metadata
bin / **
tmp / **
tmp / ** / *
* .tmp
* .bak
* .swp
*〜.nib
local.properties
.classpath
.settings /
.loadpath
#外部工具构建器
.externalToolBuilders /
#本地存储Eclipse启动配置
* .launch
#CDT特定
.cproject
#PDT特定
.buildpath
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 of you who have already been down this path:
What should a typical .gitignore file look like for an android project?
Project set up in Eclipse
解决方案You can mix Android.gitignore:
# built application files *.apk *.ap_ # files for the dex VM *.dex # Java class files *.class # generated files bin/ gen/ # Local configuration file (sdk path, etc) local.properties
with Eclipse.gitignore:
*.pydevproject .project .metadata bin/** tmp/** tmp/**/* *.tmp *.bak *.swp *~.nib local.properties .classpath .settings/ .loadpath # External tool builders .externalToolBuilders/ # Locally stored "Eclipse launch configurations" *.launch # CDT-specific .cproject # PDT-specific .buildpath
这篇关于Android应用程式的典型.gitignore档案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文