当前位置: 首页 > 编程日记 > 正文

ios 项目的.gitignore

git作为代码管理工具,.gitignore文件用来忽略哪些哪些文件不用添加到仓库管理
https://www.gitignore.io/ 这个网址输入变成语言会帮你生成常用的忽略文件
如:IOS项目,输入Xcode、Object-C、Swift、C、C++、git、svn生成:

# Created by https://www.gitignore.io/api/objective-c,swift,c,c++,xcode,git,svn### Objective-C ###
# 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
*.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/# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/CheckoutsCarthage/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/fastlane/docs/Gitignore.mdfastlane/report.xml
fastlane/Preview.html
fastlane/screenshots
fastlane/test_output# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcodeiOSInjectionProject/### Objective-C Patch ###
*.xcscmblueprint### Swift ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore## Build generated## Various settings## Other## Obj-C/Swift specific## Playgrounds
timeline.xctimeline
playground.xcworkspace# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
.build/# 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# 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/fastlane/docs/Gitignore.md### C ###
# Prerequisites
*.d# Object files
*.o
*.ko
*.obj
*.elf# Linker output
*.ilk
*.map
*.exp# Precompiled Headers
*.gch
*.pch# Libraries
*.lib
*.a
*.la
*.lo# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex# Debug files
*.dSYM/
*.su
*.idb
*.pdb# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.conf### C++ ###
# Prerequisites# Compiled Object files
*.slo# Precompiled Headers# Compiled Dynamic libraries# Fortran module files
*.mod
*.smod# Compiled Static libraries
*.lai# Executables### Xcode ###
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore## Build generated## Various settings## Other
*.xccheckout### Git ###
*.orig### SVN ###
.svn/


###macOS### *.DS_Store .AppleDouble .LSOverride# Icon must end with two \r # Icon # Thumbnails ._* # Files that might appear in the root of a volume .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns .com.apple.timemachine.donotpresent # Directories potentially created on remote AFP share .AppleDB .AppleDesktop #Network Trash Folder #Temporary Items .apdisk
Android项目,输入Eclipse、Java、C、C++、Android、Intellij、Intellij+iml、git、svn生成:
# Created by https://www.gitignore.io/api/java,c,c++,android,eclipse,intellij,intellij+iml### C ###
# Prerequisites
*.d# Object files
*.o
*.ko
*.obj
*.elf# Linker output
*.ilk
*.map
*.exp# Precompiled Headers
*.gch
*.pch# Libraries
*.lib
*.a
*.la
*.lo# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex# Debug files
*.dSYM/
*.su
*.idb
*.pdb# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.conf### C++ ###
# Prerequisites# Compiled Object files
*.slo# Precompiled Headers# Compiled Dynamic libraries# Fortran module files
*.mod
*.smod# Compiled Static libraries
*.lai# Executables### Android ###
# Built application files
*.apk
*.ap_# Files for the ART/Dalvik VM
*.dex# Java class files
*.class# Generated files
bin/
gen/
out/# Gradle files
.gradle/
build/# Local configuration file (sdk path, etc)
local.properties# Proguard folder generated by Eclipse
proguard/# Log Files
*.log# Android Studio Navigation editor temp files
.navigation/# Android Studio captures folder
captures/# Intellij
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/libraries# Keystore files
*.jks# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild### Android Patch ###
gen-external-apklibs### Eclipse ###.metadata
tmp/
*.tmp
*.bak
*.swp
*~.nib
.settings/
.loadpath
.recommenders# Eclipse Core
.project# External tool builders
.externalToolBuilders/# Locally stored "Eclipse launch configurations"
*.launch# PyDev specific (Python IDE for Eclipse)
*.pydevproject# CDT-specific (C/C++ Development Tooling)
.cproject# JDT-specific (Eclipse Java Development Tools)
.classpath# Java annotation processor (APT)
.factorypath# PDT-specific (PHP Development Tools)
.buildpath# sbteclipse plugin
.target# Tern plugin
.tern-project# TeXlipse plugin
.texlipse# STS (Spring Tool Suite)
.springBeans# Code Recommenders
.recommenders/### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839# User-specific stuff:# Sensitive or high-churn files:
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml# Gradle:
.idea/gradle.xml# Mongo Explorer plugin:
.idea/mongoSettings.xml## File-based project format:
*.iws## Plugin-specific files:# IntelliJ
/out/# mpeltonen/sbt-idea plugin
.idea_modules/# JIRA plugin
atlassian-ide-plugin.xml# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr### Intellij+iml ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839# User-specific stuff:# Sensitive or high-churn files:# Gradle:# Mongo Explorer plugin:## File-based project format:## Plugin-specific files:# IntelliJ# mpeltonen/sbt-idea plugin# JIRA plugin# Crashlytics plugin (for Android Studio and IntelliJ)### Intellij+iml Patch ###
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 modules.xml
.idea/misc.xml 
*.ipr### Java #### BlueJ files
*.ctxt# Mobile Tools for Java (J2ME)
.mtj.tmp/# Package Files #
*.jar
*.war
*.ear# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*


### Git ###
*.orig### SVN ###
.svn/

###macOS###
*.DS_Store
.AppleDouble
.LSOverride# Icon must end with two \r
# Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
#Network Trash Folder
#Temporary Items
.apdisk


J2EE项目,输入Eclipse、Java、Intellij、Intellij+iml、git、svn生成:
# Created by https://www.gitignore.io/api/eclipse,intellij,intellij+iml,java### Eclipse ###.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders# Eclipse Core
.project# External tool builders
.externalToolBuilders/# Locally stored "Eclipse launch configurations"
*.launch# PyDev specific (Python IDE for Eclipse)
*.pydevproject# CDT-specific (C/C++ Development Tooling)
.cproject# JDT-specific (Eclipse Java Development Tools)
.classpath# Java annotation processor (APT)
.factorypath# PDT-specific (PHP Development Tools)
.buildpath# sbteclipse plugin
.target# Tern plugin
.tern-project# TeXlipse plugin
.texlipse# STS (Spring Tool Suite)
.springBeans# Code Recommenders
.recommenders/### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml# Sensitive or high-churn files:
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml# Gradle:
.idea/gradle.xml
.idea/libraries# Mongo Explorer plugin:
.idea/mongoSettings.xml## File-based project format:
*.iws## Plugin-specific files:# IntelliJ
/out/# mpeltonen/sbt-idea plugin
.idea_modules/# JIRA plugin
atlassian-ide-plugin.xml# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr### Intellij+iml ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839# User-specific stuff:# Sensitive or high-churn files:# Gradle:# Mongo Explorer plugin:## File-based project format:## Plugin-specific files:# IntelliJ# mpeltonen/sbt-idea plugin# JIRA plugin# Crashlytics plugin (for Android Studio and IntelliJ)### Intellij+iml Patch ###
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023 *.iml
modules.xml
.idea/misc.xml 
*.ipr### Java ###
*.class# BlueJ files
*.ctxt# Mobile Tools for Java (J2ME)
.mtj.tmp/# Package Files #
*.jar
*.war
*.ear# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Git ###
*.orig### SVN ###
.svn/

###macOS###
*.DS_Store
.AppleDouble
.LSOverride# Icon must end with two \r
# Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
#Network Trash Folder
#Temporary Items
.apdisk

相关文章:

计算机一级ps2019,2019年计算机一级考试PS基础学习点子:PS菜单中英文对照表.docx...

2019 年计算机一级考试 PS 基础学习点子: PS 菜单中英文对照表PS菜单中英文对照表一、FileNew2.Open3.Open As4.Open RecentClose6.Save7.Save As8.Save for Web9.Revert10.Place11.ImportPDF ImageAnnotationsExportManage WorkflowCheck InUndo Check OutUpload T…

ffmpeg 常用命令

mp4中的h264编码,而h264有两种封装: 一种是annexb模式,传统模式,有startcode,SPS和PPS是在ES中;另一种是mp4模式,一般mp4、mkv、avi会没有startcode,SPS和PPS以及其它信息被封装在co…

re.sub用法

re.sub功能是对于一个输入的字符串,利用正则表达式,来实现字符串替换处理的功能返回处理后的字符串 re.sub共有五个参数 三个必选参数pattern,repl,string 两个可选参数count,flags pattern,表示正则中的模式字符串 反斜杠加数字(\n&#xff…

标准c语言怎么绘图,C语言绘图问题

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼这是我写的程序,检查无误,但运行不了,不过我这水平也只能做到这份上了,求大神指教,以后我一定好好学习#include#include#include#includevoid main(){int a,b,c,d,a2,b2,c…

计算机操作培训主持词,魅力女性沙龙会主持词文稿.docx

魅力女性沙龙会主持词??性的学科、一项重要的经济管理工作,是加强经济管理,提高经济效益的重要手段, 经济管理离不开会计, 经济越发展会计工作就显得越重要。会计工作在提高经济在企业的经营管理中起着重要的作用,其…

面向对象的3大特性

1.封装 ****目的:为了使一个类更加安全 做法: ****1.将成员变量变为私有的2.再类中做方法来间接访问成员变量3.在方法中加入控制条件 //一个成员变量还是可以的,但是不适用于多个成员变量(即可写也可读) 1234567891011…

MySQL内存结构

实际上MySQL内存的组成和Oracle类似,也可以分为SGA(系统全局区)和PGA(程序缓存区)。 mysql>show variables like "%buffer%"; 一、SGA 1.innodb_buffer_bool 用来缓存Innodb表的数据、索引、插入缓冲、数…

FFmpeg介绍

---恢复内容开始--- FFmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。采用LGPL或GPL许可证。它提供了录制、转换以及流化音视频的完整解决方案。它包含了非常先进的音频/视频编解码库libavcodec,为了保证高可移植性和编…

amp 保留指定位c语言,C语言位运算符学习

8种机械键盘轴体对比本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选?[Toc]概念位运算是指按二进制进行的运算。C语言提供了6个位操作运算符。这些运算符只能用于整型操作数,即只能用于带符号或无符号的char,short,int与lo…

计算机设备管理器不显示com,台式机设备管理器打开是空白怎么办_win10设备管理无法显示解决方法...

2015-06-15 14:08:22  浏览量:2252win7设备管理器空白怎么办?最近有用户反馈打开设备管理器的时候,发现win7设备管理器显示空白,该怎么处理这个问题?下面跟随小编脚步一起看看win7系统打开设备管理器空白的解决方法。…

用Django内置form组件实现注册

HTML页面代码块&#xff1a; 1 <!DOCTYPE html>2 <html lang"en">3 <head>4 <meta charset"UTF-8">5 6 <link rel"stylesheet" href"/static/bootstrap/css/bootstrap.min.css">7 <titl…

Mac上搭建Nginx + rtmp

介绍 nginx是非常优秀的开源服务器&#xff0c;用它来做hls或者rtmp流媒体服务器是非常不错的选择&#xff0c;本人在网上整理了安装流程&#xff0c;分享给大家并且作备忘。 安装步骤 1.先安装brew&#xff1a; /usr/bin/ruby -e "$(curl -fsSL https://raw.githubuserco…

关于 ListBox 自动换行

网络上搜不到能用的信息&#xff0c;在此记录一下我的方案。 思路是通过数据模板&#xff0c;达到换行的目的&#xff0c;如下&#xff1a; 1 <ListBox.ItemTemplate> 2 <DataTemplate> 3 <TextBlock Text"{Binding}" TextWrapping"…

c语言链表找姓,急啊!!!求救了 C语言编一个链表,输出姓名和学号就好

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼#include#include#include#includetypedef struct Node{int data;struct Node *next;}AN;int data;AN *CreList(AN *head);AN *InsList(AN *head,int data);AN *DelList(AN *head,int data);void find(int value,AN *head);void De…

计算机审计 pdf,计算机审计第三章作业.pdf

1. 审计软件的审计实施阶段前&#xff0c;包括哪些内容&#xff1f;答&#xff1a; a. 项目管理b. 数据准备c. 审计准备2. 新建审计项目时&#xff0c;在“项目登记”界面里&#xff0c;在定义‘审计时限范围’时&#xff0c;可以创建多年度数据时间吗&#xff1f;答&#xff1…

c语言通讯录打电话,C语言实现简易通讯录 | 术与道的分享

#include #include #include #include #include #pragma warning (disable:4996)enum Contact //枚举变量{Quit, //默认为0&#xff0c;下面依次递增1Add, //1Delect, //2Select, //3Alter, //4Show, //5Empty, //6Sort //7};//打印菜单void menu(){printf("#############…

Excel向数据库插入数据和数据库向Excel导出数据

为了熟悉java里工作簿的相关知识点&#xff0c;所以找了“Excel向数据库插入数据和数据库向Excel导出数据”的功能来实现。 注意事项&#xff1a;1&#xff0c;mysql数据库&#xff1b; 2&#xff0c;需要导入的jar包有 jxl.jar&#xff0c;mysql-connector-java-5.1.22-bin.ja…

9.12学习内容

操作系统基础 操作系统是协调、控制、管理计算机硬件资源与软件资源的控制程序 为什么要用操作系统&#xff1f; 1.操作系统可以把复杂的操作简化给用户使用或者应用程序 2.可以让应用程序对计算机硬件竞争变的有序 一套完整的计算机分为&#xff1a;操作系统、应用程序、计算机…

xcode 8 重新支持插件

苹果出了Xcode8之后&#xff0c;就加了签名让之前的自定义插件无法继续的安装使用。想要重新使用插件的话只要用自己的签名覆盖苹果的签名即可。 1.创建自签名证书 钥匙串-》钥匙串访问-》证书助理-》创建证书... 名称&#xff1a;XcodeSigner(可以随便命名&#xff0c;后面要使…

pda找不到服务器,PDA连不上服务器常见问题分析.doc

PDA连不上服务器常见问题分析.docPDA连不上服务器常见问题分析请查看PDA的网络通不通&#xff0c;可以先检查WIFI/3G是否连接上网络&#xff0c;如果连接不上&#xff0c;点击PingToots工具&#xff0c;用"ping 服务器地址" 比如 ping 192.168.1.1 看和服务器网络通不…

android 运动管理,使用 MotionLayout 管理运动和微件动画

创建 MotionScene&#xff1a;在之前的 MotionLayout 示例中&#xff0c;app:layoutDescription 属性引用一个 MotionScene。MotionScene 是一个 XML 资源文件&#xff0c;其中包含相应布局的所有运动描述。为了将布局信息与运动描述分开&#xff0c;每个 MotionLayout 都引用一…

ios Carthage

使用CocoaPods来管理第三方框架很多人都知道&#xff0c;相对来说Carthage比较陌生&#xff0c;Carthage也是来管理第三方框架的&#xff0c;既然已经有了Cocoapods为什么还要有Carthage呢&#xff1f;使用Carthage有什么好处呢&#xff1a; 首先&#xff0c;CocoaPods默认会自…

计算机c1 c语言答题,全国计算机级考试二级C语言上机答题技巧.doc

全国计算机等级考试二级C语言上机答题技巧1&#xff0e;上机改错的试题中通常包含两个(或三个)错误需要修改。  2&#xff0e;试题中用"******found******/"来提示在下一行(或下面第二行)有错。  3&#xff0e;错误的性质基本分语法错和逻辑错两种&#xff0c;也…

springboot +element-axios跨域请求

1、初始化element项目   1.1&#xff1a;vue init webpage 项目名称 1.2&#xff1a;npm i element-ui -S 1.3&#xff1a;在main.js添加    import ElementUI from element-uiimport element-ui/lib/theme-chalk/index.cssVue.use(ElementUI) 2、添加axios跨域请求 在main…

Nginx 主要应用场景

一、反向代理 反向代理&#xff08;Reverse Proxy&#xff09;方式是指以代理服务器来接受internet上的连接请求&#xff0c;然后将请求转发给内部网络上的服务器&#xff0c;并将从服务器上得到的结果返回给internet上请求连接的客户端。 server { listen 80; …

ios .a和.framework

创建Aggregate来合并模拟器和真机通用的framework 然后在Build Phases下New Run Script Phase创建合并脚本&#xff1a; # Constants SF_TARGET_NAME${PROJECT_NAME} #自定义的用来存放最后合并的framework UNIVERSAL_OUTPUTFOLDER${BUILD_DIR}/${CONFIGURATION}-universal #IP…

android上下文关系,Android Context上下文的理解 Hua

8种机械键盘轴体对比本人程序员&#xff0c;要买一个写代码的键盘&#xff0c;请问红轴和茶轴怎么选&#xff1f;Context概念在安卓对象中&#xff0c;Context是经常使用的元素…但应该也是错误使用率最高的。你在加载资源、启动一个新的Activity、获取系统服务、获取内部文件(…

打开云服务器连不上网,云服务器怎么连接网络连接不上

traceroute(路由跟踪)通常&#xff0c;ping程序用于确定基本连接是否通&#xff0c;traceroute实用程序可用于确定目标打开终端&#xff0c;输入traceroute&#xff0c;点击回车即可可以检测主机和目标主机之间进行交互所经过的网关数量&#xff0c;由接受的数据包来得出结果。…

Pandas缺失数据

数据丢失(缺失)在现实生活中总是一个问题。 机器学习和数据挖掘等领域由于数据缺失导致的数据质量差&#xff0c;在模型预测的准确性上面临着严重的问题。 在这些领域&#xff0c;缺失值处理是使模型更加准确和有效的重点。 何时以及为什么数据丢失&#xff1f; 想象一下有一个…

android servlet 登陆,Android Studio+Servlet+MySql实现登录注册

一、Android 项目当中设置明文传输1、设置明文传输的xml2、引入上述创建的xmlandroid:networkSecurityConfig"xml/network_security_config"二、在MyEclipse当中创建Web项目1、创建项目引入MySQL的驱动包2、创建实体类Userpackage entity;public class User {private…