首页 > 其他分享 >git 添加过滤文件

git 添加过滤文件

时间:2022-11-10 11:44:08浏览次数:43  
标签:git ## Xcode fastlane source 过滤 https 添加 gitignore

创建一个 .gitignore的隐藏文件

粘贴下边的代码

# Created by https://www.toptal.com/developers/gitignore/api/objective-c
# Edit at https://www.toptal.com/developers/gitignore?templates=objective-c

### Objective-C ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
.DS_Store
*/.DS_Store

#AAA项目过滤pod生成的文件
AAA/Pods/
AAA/Pods
AAA/Podfile.lock
AAA/*.xcworkspace

/Podfile.lock

## User settings
xcuserdata/
.DS_Store
*/.DS_Store
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
*.xcuserstate

## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3

## Obj-C/Swift specific
*.hmap

## App packaging
*.ipa
*.dSYM.zip
*.dSYM

# 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/
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace

# 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://docs.fastlane.tools/best-practices/source-control/#source-control

fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output

# Code Injection
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

### Objective-C Patch ###

# End of https://www.toptal.com/developers/gitignore/api/objective-c

 

标签:git,##,Xcode,fastlane,source,过滤,https,添加,gitignore
From: https://www.cnblogs.com/qingzZ/p/16876561.html

相关文章

  • Python list添加、删除、替换元素
    Python之list添加新元素现在,班里有3名同学:>>>L=['Adam','Lisa','Bart']今天,班里转来一名新同学Paul,如何把新同学添加到现有的list中呢?第一个办法是用list的​​......
  • 字典添加键值对和打包生成可执行文件
    1.【字典添加键值对】Mest=['A','B','C']i=0mapping={}whilei<len(Mest):mapping.update({i:Mest[i]})i+=1print(mapping)2.【打包生成可执行文件】(venv)H:......
  • Install Git Daemon on Fedora
    Git-daemonisAreallysimpleserverforgitrepositories.Youcantakeadetailedunderstandingbyreading​​https://www.kernel.org/pub/software/scm/git/docs/......
  • 【luffy】协同开发,冲突解决,线上分支合并,pycharm操作git,前端首页组件编写,首页轮播图功
    目录1.协同开发2.冲突解决2.1多人同一分支开发出现冲突2.2分支合并出现冲突3.线上分支合并(pr,mr)4.pycharm操作git4.1clone4.2gitadd4.3gitcommit4.4gitpull......
  • Git - 错误集
    $gitpull20221109testmasterFromhttps://gitee.com/chaung_sun/20221109test*branchmaster->FETCH_HEADfatal:refusingtomergeunrelated......
  • 使用phpstudy搭建gitee开源项目[勾股dev]
    前段时间公司一直要求进行只是梳理,整合,想着做一套知识管理系统,在gitee上找到了一个开源的项目管理系统,带的有知识库管理子系统,索性就拿来使用了;gitee地址  https://git......
  • 另类在线编程Classroom for Github
    说到Github,我们一般认为它是一个软件工程师共享、塑造以及合作代码的平台,但你可能想不到它也是教人学软件编程的好地方,现在GitHub已经有了在线教育服务了!近年来,大量......
  • git合并master到本地分支
    首先将自己本地分支dev上的代码正常提交到git上,拉取代码到自己本地。然后:1.切换到master主分支上gitcheckoutmaster 2.将master更新的代码拉取到本地gitpul......
  • git面试题
    1你们公司分支方案是什么样的?我们公司的方案是master+dev+bug三条分支master是总分支,用来大版本的发布dev是我们一般开发用的bug分支是在master发布版本遇到问题是在b......
  • python添加模块路径的三种方法
    查看python的模块路径方法是importsysprintsys.path这个就会打印出所有的模块路径。 下边是在这个python系统路径中加入新的模块路径的三种方法,1、添加环境变量PY......