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/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://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md fastlane/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/injectionforxcode iOSInjectionProject/ ### 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
ios 项目的.gitignore的更多相关文章
- .gitignore详解(附上eclipse的java项目的 .gitignore文件)
今天讲讲Git中非常重要的一个文件――.gitignore. 首先要强调一点,这个文件的完整文件名就是“.gitignore”,注意最前面有个“.”.这样没有扩展名的文件在Windows下不太好创建, ...
- 系列文章:老项目的#iPhone6与iPhone6Plus适配#(持续更新中,更新日期2014年10月12日 星期日 )
本文永久地址为http://www.cnblogs.com/ChenYilong/p/4020399.html ,转载请注明出处. ********************************** ...
- 老项目的#iPhone6与iPhone6Plus适配#LaunchImage适配
本文永久地址为 http://www.cnblogs.com/ChenYilong/p/4020384.html,转载请注明出处. Evernote印象笔记链接:https://www.everno ...
- 老项目的#iPhone6与iPhone6Plus适配#Icon适配
本文永久地址为http://www.cnblogs.com/ChenYilong/p/4020373.html ,转载请注明出处. 这是Evernote印象笔记的链接:https://www ...
- 老项目的#iPhone6与iPhone6Plus适配#iOS8无法开启定位问题和#解决方案#
本文永久地址为 http://www.cnblogs.com/ChenYilong/p/4020359.html,转载请注明出处. iOS8的定位和推送的访问都发生了变化, 下面是iOS7和iOS8申 ...
- 老项目的#iPhone6于iPhone6Plus适配#iPhone6分辨率与适配
技术博客http://www.cnblogs.com/ChenYilong/ 本文永久地址为http://www.cnblogs.com/ChenYilong/p/4011744.html ,转 ...
- 搜刮一些开源项目的APP
iOS完整App资源收集 <iOS完整app资源收集> <GitHub 上有哪些完整的 iOS-App 源码值得参考?> <GitHub 上有哪些完整的 iOS-App ...
- 团队项目——编写项目的Spec
团队项目--编写项目的Spec 一.Spec的目标 spec主要用来说明软件的外部功能,和用户的交互情况,主要用来说明软件内部的设计.图片编辑器是与生活息息相关的一个必备软件,随的流行, ...
- 如何修改MyEclipse项目的web context-root
修改一个MyEclipse项目的名称很容易,右键点项目->rename就行了. 但此时项目的web context-root 还没有改变,需要右键点项目->properties->M ...
随机推荐
- bzoj 1070 [SCOI2007]修车
最小费用最大流. 将每个技术人员拆成车数个点,技术人员i的第j个点代表技术人员i修的倒数第j辆车. 源点向所有技术人员点连一条容量为1费用为0的边. 所有技术人员点向所有车点连边:技术人员i的第j个点 ...
- div+css:div中图片垂直居中
div中图片垂直居中 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> &l ...
- js函数表达式和函数声明的区别
我们已经知道,在任意代码片段外部添加包装函数,可以将内部的变量和函数定义"隐 藏"起来,外部作用域无法访问包装函数内部的任何内容. 例如: var a = 2; function ...
- vue组件
分享出来让思路更成熟. 首先组件是 Vue.js 最强大的功能之一. 可以减少很多的工作量,提高工作效率. 编写一个可复用性的组件,虽然官网上也有.... 编写可复用性的vue组件 具备一下的几个要求 ...
- mysql 远程连接数据库的二种方法
http://blog.csdn.net/freecodetor/article/details/5799550 一.连接远程数据库: 1.显示密码 如:MySQL 连接远程数据库(192.168.5 ...
- js 对象的_proto_
js 对象呢,有个属性叫_proto_,以前没听说过,也没关注,最近看这个原型,就被迫知道了这个东西,js 这里面的东西,真是规定的很奇怪,具体为啥也不知道,就测试发现的,对象的_proto_属性,和 ...
- 论php数组合并
注:尽量不要在循环中操作数据库. 1.两个一维数组合并成一个一维数组 $a = array('morning','afternoon','night'); $b = array('breakfast' ...
- 逆向工程学习第一天--一个VC6编译的小程序
今天开始研究二进制了,开个文记录一下.下面是一个小程序的OD反汇编代码,自己尝试加了注释,本人逆向零基础,属于摸着石头过河的类型,有理解错误的地方,希望大牛不吝赐教. 源代码: #include< ...
- 【转】机器学习教程 十四-利用tensorflow做手写数字识别
模式识别领域应用机器学习的场景非常多,手写识别就是其中一种,最简单的数字识别是一个多类分类问题,我们借这个多类分类问题来介绍一下google最新开源的tensorflow框架,后面深度学习的内容都会基 ...
- 3种方法修改PHP时区
PHP5.2.4之前的版本无需设置时区.下面是修改PHP时区的三个办法. 1.修改PHP.ini这个文件 找到date.timezone这行,去掉前面的分号,改成: date.timezone = A ...