sourceTree 忽略pod文件

开启终端,CD进入到工程目录下,使用
touch .gitignore
新建.gitignore文件,然后使用
open .gitignore
打开.gitignore文件,如下:

.DS_Store

Build generated

build/
DerivedData/

Various settings

*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata/

Other

*.moved-aside
*.xcuserstate
*.xccheckout

Obj-C/Swift specific

*.hmap
*.ipa
*.dSYM.zip
*.dSYM

CocoaPods

Pods/

你可能感兴趣的:(sourceTree 忽略pod文件)