IOS 的.gitignore

作者: kuazi | 来源:发表于2015-11-16 14:47 被阅读9048次
git.png
多人开发IOS项目的时候,很多文件都不需要上传到git服务器的,所有我们新建Xcode项目的时候需要生成一个.gitignore文件。
项目来自于这里:https://github.com/github/gitignore/blob/master/Objective-C.gitignore
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore

## Build generated
build/
DerivedData

## Various settings
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata

## Other
*.xccheckout
*.moved-aside
*.xcuserstate
*.xcscmblueprint
*.xcscheme

## Obj-C/Swift specific
*.hmap
*.ipa

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/

# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts

Carthage/Build

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

fastlane/report.xml
fastlane/screenshots

相关文章

  • 在clone目录下删除ignore文件

    删除本地分支需要忽略的文件 iOS开发中创建.gitignore 的文件内容 .gitignore文件内容

  • Git忽略规则.gitignore梳理(转载记录)

    Git忽略提交规则 iOS gitignore配置实例

  • iOS项目的.gitignore配置

    最近使用 .gitignore 的时候,遇到了一个坑,解决之后,重新复习了一下关于iOS的.gitignore,再...

  • IOS 的.gitignore

  • Gitignore for iOS

    提交代码到git仓库的时候,有一些文件是多余的,这个时候需要配置gitignore文件来忽略多余文件,其实就是和....

  • iOS:.gitignore

    背景:在用git作为版本工具的时候,通常需要忽略一些不必要的文件。但在很多时候访问github速度比较慢,因此我把...

  • iOS 设置gitignore

    步骤:打开终端窗口: 1 .$ cd xxxxx //拖动文件到终端窗口,切换到在工程目录下 2 ....

  • ios 使用 .gitignore

    介绍 gitignore:是文件黑名单,提交到远程时可以忽略的文件(路径也可以) 语法介绍 针对iOS项目 使用C...

  • [Git] gitignore for iOS

    关于 .DS_Store 文件 DS_Store 是用来存储这个文件夹的显示属性的,比如文件图标的摆放位置。删除以...

  • iOS gitignore 文件

    https://www.jianshu.com/p/7d03ea902f55

网友评论

  • 8d586f6ae765:不好意思啊 我是新手 想问下 这个.gitignore怎么用啊....直接copy到项目的根目录就可以么?
    8d586f6ae765:@左边蛋痒 我不是用命令行提交的。我是用Xcode自带的git提交的。
    8d586f6ae765:@kuazi 。。。。我就是这么做的。可是没有用啊,不知道什么情况
    kuazi:@左边蛋痒 对的

本文标题:IOS 的.gitignore

本文链接:https://www.haomeiwen.com/subject/fqbkhttx.html