git :设置 object-c 的忽略文件
Posted 若岁月轻狂,愿你可以笑看夕阳
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git :设置 object-c 的忽略文件相关的知识,希望对你有一定的参考价值。
使用 git 命令行来进行版本控制的时候, 需要设置忽略文件.
这里能找到所有语言的忽略文件的内容:https://github.com/github/gitignore
OBJECT的忽略文件内容:
# 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 *.moved-aside *.xcuserstate ## 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
以上是关于git :设置 object-c 的忽略文件的主要内容,如果未能解决你的问题,请参考以下文章