Xcode 6 gitignore文件应包含哪些内容? [英] What should Xcode 6 gitignore file include?

查看:88
本文介绍了Xcode 6 gitignore文件应包含哪些内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xcode 6应该包含哪些典型的 .gitignore 同样有关 xccheckout 在Xcode 5中引入请参阅此处
<最简单的答案是我的看起来像这样:$ b $


$ b $最简单的答案是,我的看起来像这样:

 #Xcode 
.DS_Store
build /
* .pbxuser
!default.pbxuser
* .mode1v3
!default.mode1v3
* .mode2v3
!default.mode2v3
。.perspectivev3
!default.perspectivev3
* .xcworkspace
!default.xcworkspace
xcuserdata
profile
* .moved-aside
DerivedData
.idea /
#Pods - 对于那些使用CocoaPods
豆荚

我相信它与gitHub设置的相同.gitignore b


$ b

另一个答案是,有一个网站名为gitignore.io,该网站根据 https:// github上的.gitignore模板生成文件.com / github / gitignore


What should the typical .gitignore include for Xcode 6?

Also for information regarding the xccheckout introduced in Xcode 5 see here

解决方案

1)

The easiest answer is that mine looks like this:

# Xcode
.DS_Store
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
*.xcworkspace
!default.xcworkspace
xcuserdata
profile
*.moved-aside
DerivedData
.idea/
# Pods - for those of you who use CocoaPods
Pods

which I believe is the same .gitignore that GitHub sets up with all their repositories by default.

2)

Another answer is that there's a website called "gitignore.io" , which generates the files based on the .gitignore templates from https://github.com/github/gitignore.

这篇关于Xcode 6 gitignore文件应包含哪些内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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