对于一个Android应用程序典型的.gitignore文件 [英] Typical .gitignore file for an Android app

查看:155
本文介绍了对于一个Android应用程序典型的.gitignore文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只要把一个Android项目下的混帐(豆茎的)版本通过命令行控制( MAC终端的)。下一步是建立排除。

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:

我应该一个典型的.gitignore文件看起来像一个Android项目?

项目建立在Eclipse

推荐答案

您可以混合 Android.gitignore < /一>:

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

与<一个href="https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore">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屋!

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