簡體   English   中英

忽略哪些文件用於提交到Eclipse中的SVN

[英]which files to ignore using to commit to SVN in eclipse

我已經使用Eclipse和SVN一段時間了。 但是,我仍然不清楚在將整個項目提交到存儲庫時通常應該忽略哪些文件/文件夾。 我知道.project需要被忽略。 那別人呢 順便說一下,這是一個android項目。 但是,也歡迎回答一般項目。

謝謝。

基本上是在android項目的.gitignore文件中添加的文件列表。

# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

我們使用以下配置來支持不同的IDE:

# Eclipse related (and M2e)
.classpath
.project
.settings/
.metadata/
test-output/

# Maven related (and some plugins)
target/
*~
dist
*.ser
*.ec

# Intellij
*.ipr
*.iml
*.iws
.idea
.temp

# Other
.svn/
bin/
bak/
*.log
*.orig
*.versionsBackup

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM