在 Android Studio 中使用提交到 SVN 忽略哪些文件 [英] Which files to ignore using to commit to SVN in Android Studio

查看:40
本文介绍了在 Android Studio 中使用提交到 SVN 忽略哪些文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用 Android Studio 时,我必须在 SVN 中忽略哪些文件?

Which files do i have to put on ignore in SVN when im using Android Studio?

目前我忽略了这个文件:

Currently i have ignored this files:

*.idea
等级
*.iml
构建
本地.properties
.DS_Store

*.idea
gradle
*.iml
build
local.properties
.DS_Store

推荐答案

当您创建 Android Studio 项目时,也会生成 .gitignore 文件.基于此,在我们排除的父文件夹中:

When you create an Android Studio project, .gitignore files will be also generated. Based on that, in the parent folder we exclude:

-.gradle
-/local.properties
-/.idea/workspace.xml
-.DS_Store

在模块目录中:

-/build

这篇关于在 Android Studio 中使用提交到 SVN 忽略哪些文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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