当我在使用 Xcode 与 Git 结合时,应该包括哪些文件在 .gitignore
中?
当我在使用 Xcode 与 Git 结合时,应该包括哪些文件在 .gitignore
中?
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
!default.xcworkspace
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
gitignore
文件,这对主题没有任何帮助。 - Ashley Mills
https://www.gitignore.io/api/swift,xcode,Cobjective-c,osx
。该网页提供了相关的忽略文件,可用于在Git中排除Swift、Xcode、C Objective-C和OSX等方面的文件。 - geekay