使用 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命令行进行版本控制,并提供了如何配置忽略文件以排除不需要跟踪的文件和目录的指南。通过遵循文中提供的链接,您可以了解不同编程语言的特定忽略文件内容,确保您的项目保持整洁且易于管理。

8893

被折叠的 条评论
为什么被折叠?



