美文网首页selectoriOS开发(OC)
iOS sourcetree设置忽略文件

iOS sourcetree设置忽略文件

作者: HeavenWong | 来源:发表于2022-10-24 10:41 被阅读0次

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

    • 设置sourcetree的忽略文件
    • 打开sourcetree -> 偏好设置, 或者快捷键command +,
    command +,
    • git -> 编辑文件


      git -> 编辑文件
    .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
    
    

    相关文章

      网友评论

        本文标题:iOS sourcetree设置忽略文件

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