selectoriOS开发(OC)

iOS sourcetree设置忽略文件

2022-10-24  本文已影响0人  HeavenWong

有些文件不需要上传到仓库, 比如pods, 比如xcode的个人自定义设置, 无效上传会增加同伴拉取工作与时间成本.

command +, .gitignore_global

*~ 
# Mac OS X Finder and  Whatnot
.DS_Store
/build/
*.pbxuser
.db
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
.perspectivev3
!default.perspectivev3
xcuserdata/
*.xcbkptlist
*.xcuserstate
project.xcworkspace
xcuserdata
UserInterfaceState.xcuserstate
project.xcworkspace/
xcuserdata/
UserInterface.xcuserstate
profile
*.moved-aside
DerivedData
.idea/
.o
*.hmap
*.xccheckout
*.xcworkspace
*.xcuserstate
!default.xcworkspace
*.a
!lib.a


*~
xcshareddata

# Xcode

xcuserdata

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


#CocoaPods
Pods
!Podfile
Podfile.lock

## Build generated
build/
DerivedData/
Swift specific

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

上一篇下一篇

猜你喜欢

热点阅读