适用于几种IDE的gitignore文件

项目需要同时用到xcode 4, eclipse+adt, visual studio 2008,IDE会生成很多不相干的文件,这些文件是不应该放到代码库里面去的。
所以网上搜罗了一下适用于几种IDE的gitignore文件

记录一下:

##########################
#  xcode
##########################
.DS_Store
*.swp
*~.nib

build/

*.pbxuser *.perspective *.perspectivev3

*.mode1v3 *.mode2v3

xcuserdata/

##########################

eclipse android

##########################

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

##########################

visual studio 2008

########################## [Tt]humbs.db

*.[Oo]bj *.user *.aps *.pch *.vspscc *.vssscc *_i.c *_p.c *.ncb *.suo *.tlb *.tlh *.bak *.[Cc]ache *.ilk *.log *.lib *.sbr *.sdf .opensdf .unsuccessfulbuild ipch/ obj/ [Bb]in [Dd]ebug/ [Rr]elease/ Ankh.NoLoad TestResults/

##########################

other

########################## .svn ~$* *.log *.7z *.dmg *.gz *.iso *.jar *.rar *.tar *.zip


Last modified on 2011-12-14