1. git作为代码管理工具,.gitignore文件用来忽略哪些哪些文件不用添加到仓库管理
    https://www.gitignore.io/ 这个网址输入变成语言会帮你生成常用的忽略文件
    如:IOS项目,输入XcodeObject-CSwiftCC++、gitsvn生成:
  1. # Created by https://www.gitignore.io/api/objective-c,swift,c,c++,xcode,git,svn
  2.  
  3. ### Objective-C ###
  4. # Xcode
  5. #
  6. # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
  7.  
  8. ## Build generated
  9. build/
  10. DerivedData/
  11.  
  12. ## Various settings
  13. *.pbxuser
  14. !default.pbxuser
  15. *.mode1v3
  16. !default.mode1v3
  17. *.mode2v3
  18. !default.mode2v3
  19. *.perspectivev3
  20. !default.perspectivev3
  21. xcuserdata/
  22.  
  23. ## Other
  24. *.moved-aside
  25. *.xcuserstate
  26.  
  27. ## Obj-C/Swift specific
  28. *.hmap
  29. *.ipa
  30. *.dSYM.zip
  31. *.dSYM
  32.  
  33. # CocoaPods
  34. #
  35. # We recommend against adding the Pods directory to your .gitignore. However
  36. # you should judge for yourself, the pros and cons are mentioned at:
  37. # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
  38. #
  39. # Pods/
  40.  
  41. # Carthage
  42. #
  43. # Add this line if you want to avoid checking in source code from Carthage dependencies.
  44. # Carthage/Checkouts
  45.  
  46. Carthage/Build
  47.  
  48. # fastlane
  49. #
  50. # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
  51. # screenshots whenever they are needed.
  52. # For more information about the recommended setup visit:
  53. # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
  54.  
  55. fastlane/report.xml
  56. fastlane/Preview.html
  57. fastlane/screenshots
  58. fastlane/test_output
  59.  
  60. # Code Injection
  61. #
  62. # After new code Injection tools there's a generated folder /iOSInjectionProject
  63. # https://github.com/johnno1962/injectionforxcode
  64.  
  65. iOSInjectionProject/
  66.  
  67. ### Objective-C Patch ###
  68. *.xcscmblueprint
  69.  
  70. ### Swift ###
  71. # Xcode
  72. #
  73. # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
  74.  
  75. ## Build generated
  76.  
  77. ## Various settings
  78.  
  79. ## Other
  80.  
  81. ## Obj-C/Swift specific
  82.  
  83. ## Playgrounds
  84. timeline.xctimeline
  85. playground.xcworkspace
  86.  
  87. # Swift Package Manager
  88. #
  89. # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
  90. # Packages/
  91. .build/
  92.  
  93. # CocoaPods
  94. #
  95. # We recommend against adding the Pods directory to your .gitignore. However
  96. # you should judge for yourself, the pros and cons are mentioned at:
  97. # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
  98. #
  99. # Pods/
  100.  
  101. # Carthage
  102. #
  103. # Add this line if you want to avoid checking in source code from Carthage dependencies.
  104. # Carthage/Checkouts
  105.  
  106. # fastlane
  107. #
  108. # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
  109. # screenshots whenever they are needed.
  110. # For more information about the recommended setup visit:
  111. # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
  112.  
  113. ### C ###
  114. # Prerequisites
  115. *.d
  116.  
  117. # Object files
  118. *.o
  119. *.ko
  120. *.obj
  121. *.elf
  122.  
  123. # Linker output
  124. *.ilk
  125. *.map
  126. *.exp
  127.  
  128. # Precompiled Headers
  129. *.gch
  130. *.pch
  131.  
  132. # Libraries
  133. *.lib
  134. *.a
  135. *.la
  136. *.lo
  137.  
  138. # Shared objects (inc. Windows DLLs)
  139. *.dll
  140. *.so
  141. *.so.*
  142. *.dylib
  143.  
  144. # Executables
  145. *.exe
  146. *.out
  147. *.app
  148. *.i*86
  149. *.x86_64
  150. *.hex
  151.  
  152. # Debug files
  153. *.dSYM/
  154. *.su
  155. *.idb
  156. *.pdb
  157.  
  158. # Kernel Module Compile Results
  159. *.mod*
  160. *.cmd
  161. modules.order
  162. Module.symvers
  163. Mkfile.old
  164. dkms.conf
  165.  
  166. ### C++ ###
  167. # Prerequisites
  168.  
  169. # Compiled Object files
  170. *.slo
  171.  
  172. # Precompiled Headers
  173.  
  174. # Compiled Dynamic libraries
  175.  
  176. # Fortran module files
  177. *.mod
  178. *.smod
  179.  
  180. # Compiled Static libraries
  181. *.lai
  182.  
  183. # Executables
  184.  
  185. ### Xcode ###
  186. # Xcode
  187. #
  188. # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
  189.  
  190. ## Build generated
  191.  
  192. ## Various settings
  193.  
  194. ## Other
  195. *.xccheckout
  196.  
  197. ### Git ###
  198. *.orig
  199.  
  200. ### SVN ###
  201. .svn/
  1. ###macOS###
  2. *.DS_Store
  3. .AppleDouble
  4. .LSOverride
  5.  
  6. # Icon must end with two \r
  7. # Icon
  8. # Thumbnails
  9. ._*
  10. # Files that might appear in the root of a volume
  11. .DocumentRevisions-V100
  12. .fseventsd
  13. .Spotlight-V100
  14. .TemporaryItems
  15. .Trashes
  16. .VolumeIcon.icns
  17. .com.apple.timemachine.donotpresent
  18. # Directories potentially created on remote AFP share
  19. .AppleDB
  20. .AppleDesktop
  21. #Network Trash Folder
  22. #Temporary Items
  23. .apdisk
  1. Android项目,输入EclipseJavaCC++、AndroidIntellijIntellij+imlgitsvn生成:
  1. # Created by https://www.gitignore.io/api/java,c,c++,android,eclipse,intellij,intellij+iml
  2.  
  3. ### C ###
  4. # Prerequisites
  5. *.d
  6.  
  7. # Object files
  8. *.o
  9. *.ko
  10. *.obj
  11. *.elf
  12.  
  13. # Linker output
  14. *.ilk
  15. *.map
  16. *.exp
  17.  
  18. # Precompiled Headers
  19. *.gch
  20. *.pch
  21.  
  22. # Libraries
  23. *.lib
  24. *.a
  25. *.la
  26. *.lo
  27.  
  28. # Shared objects (inc. Windows DLLs)
  29. *.dll
  30. *.so
  31. *.so.*
  32. *.dylib
  33.  
  34. # Executables
  35. *.exe
  36. *.out
  37. *.app
  38. *.i*86
  39. *.x86_64
  40. *.hex
  41.  
  42. # Debug files
  43. *.dSYM/
  44. *.su
  45. *.idb
  46. *.pdb
  47.  
  48. # Kernel Module Compile Results
  49. *.mod*
  50. *.cmd
  51. modules.order
  52. Module.symvers
  53. Mkfile.old
  54. dkms.conf
  55.  
  56. ### C++ ###
  57. # Prerequisites
  58.  
  59. # Compiled Object files
  60. *.slo
  61.  
  62. # Precompiled Headers
  63.  
  64. # Compiled Dynamic libraries
  65.  
  66. # Fortran module files
  67. *.mod
  68. *.smod
  69.  
  70. # Compiled Static libraries
  71. *.lai
  72.  
  73. # Executables
  74.  
  75. ### Android ###
  76. # Built application files
  77. *.apk
  78. *.ap_
  79.  
  80. # Files for the ART/Dalvik VM
  81. *.dex
  82.  
  83. # Java class files
  84. *.class
  85.  
  86. # Generated files
  87. bin/
  88. gen/
  89. out/
  90.  
  91. # Gradle files
  92. .gradle/
  93. build/
  94.  
  95. # Local configuration file (sdk path, etc)
  96. local.properties
  97.  
  98. # Proguard folder generated by Eclipse
  99. proguard/
  100.  
  101. # Log Files
  102. *.log
  103.  
  104. # Android Studio Navigation editor temp files
  105. .navigation/
  106.  
  107. # Android Studio captures folder
  108. captures/
  109.  
  110. # Intellij
  111. *.iml
  112. .idea/workspace.xml
  113. .idea/tasks.xml
  114. .idea/libraries
  115.  
  116. # Keystore files
  117. *.jks
  118.  
  119. # External native build folder generated in Android Studio 2.2 and later
  120. .externalNativeBuild
  121.  
  122. ### Android Patch ###
  123. gen-external-apklibs
  124.  
  125. ### Eclipse ###
  126.  
  127. .metadata
  128. tmp/
  129. *.tmp
  130. *.bak
  131. *.swp
  132. *~.nib
  133. .settings/
  134. .loadpath
  135. .recommenders
  136.  
  137. # Eclipse Core
  138. .project
  139.  
  140. # External tool builders
  141. .externalToolBuilders/
  142.  
  143. # Locally stored "Eclipse launch configurations"
  144. *.launch
  145.  
  146. # PyDev specific (Python IDE for Eclipse)
  147. *.pydevproject
  148.  
  149. # CDT-specific (C/C++ Development Tooling)
  150. .cproject
  151.  
  152. # JDT-specific (Eclipse Java Development Tools)
  153. .classpath
  154.  
  155. # Java annotation processor (APT)
  156. .factorypath
  157.  
  158. # PDT-specific (PHP Development Tools)
  159. .buildpath
  160.  
  161. # sbteclipse plugin
  162. .target
  163.  
  164. # Tern plugin
  165. .tern-project
  166.  
  167. # TeXlipse plugin
  168. .texlipse
  169.  
  170. # STS (Spring Tool Suite)
  171. .springBeans
  172.  
  173. # Code Recommenders
  174. .recommenders/
  175.  
  176. ### Intellij ###
  177. # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
  178. # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
  179.  
  180. # User-specific stuff:
  181.  
  182. # Sensitive or high-churn files:
  183. .idea/dataSources/
  184. .idea/dataSources.ids
  185. .idea/dataSources.xml
  186. .idea/dataSources.local.xml
  187. .idea/sqlDataSources.xml
  188. .idea/dynamic.xml
  189. .idea/uiDesigner.xml
  190.  
  191. # Gradle:
  192. .idea/gradle.xml
  193.  
  194. # Mongo Explorer plugin:
  195. .idea/mongoSettings.xml
  196.  
  197. ## File-based project format:
  198. *.iws
  199.  
  200. ## Plugin-specific files:
  201.  
  202. # IntelliJ
  203. /out/
  204.  
  205. # mpeltonen/sbt-idea plugin
  206. .idea_modules/
  207.  
  208. # JIRA plugin
  209. atlassian-ide-plugin.xml
  210.  
  211. # Crashlytics plugin (for Android Studio and IntelliJ)
  212. com_crashlytics_export_strings.xml
  213. crashlytics.properties
  214. crashlytics-build.properties
  215. fabric.properties
  216.  
  217. ### Intellij Patch ###
  218. # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
  219.  
  220. # *.iml
  221. # modules.xml
  222. # .idea/misc.xml
  223. # *.ipr
  224.  
  225. ### Intellij+iml ###
  226. # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
  227. # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
  228.  
  229. # User-specific stuff:
  230.  
  231. # Sensitive or high-churn files:
  232.  
  233. # Gradle:
  234.  
  235. # Mongo Explorer plugin:
  236.  
  237. ## File-based project format:
  238.  
  239. ## Plugin-specific files:
  240.  
  241. # IntelliJ
  242.  
  243. # mpeltonen/sbt-idea plugin
  244.  
  245. # JIRA plugin
  246.  
  247. # Crashlytics plugin (for Android Studio and IntelliJ)
  248.  
  249. ### Intellij+iml Patch ###
  250. # Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
  251.  
  252. modules.xml
  253. .idea/misc.xml
  254. *.ipr
  255.  
  256. ### Java ###
  257.  
  258. # BlueJ files
  259. *.ctxt
  260.  
  261. # Mobile Tools for Java (J2ME)
  262. .mtj.tmp/
  263.  
  264. # Package Files #
  265. *.jar
  266. *.war
  267. *.ear
  268.  
  269. # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
  270. hs_err_pid*
  271.  
  1. ### Git ###
  2. *.orig
  3.  
  4. ### SVN ###
  5. .svn/
  1. ###macOS###
  2. *.DS_Store
  3. .AppleDouble
  4. .LSOverride
  5.  
  6. # Icon must end with two \r
  7. # Icon
  8. # Thumbnails
  9. ._*
  10. # Files that might appear in the root of a volume
  11. .DocumentRevisions-V100
  12. .fseventsd
  13. .Spotlight-V100
  14. .TemporaryItems
  15. .Trashes
  16. .VolumeIcon.icns
  17. .com.apple.timemachine.donotpresent
  18. # Directories potentially created on remote AFP share
  19. .AppleDB
  20. .AppleDesktop
  21. #Network Trash Folder
  22. #Temporary Items
  23. .apdisk
  1.  
  2. J2EE项目,输入EclipseJavaIntellijIntellij+imlgitsvn生成:
  1. # Created by https://www.gitignore.io/api/eclipse,intellij,intellij+iml,java
  2.  
  3. ### Eclipse ###
  4.  
  5. .metadata
  6. bin/
  7. tmp/
  8. *.tmp
  9. *.bak
  10. *.swp
  11. *~.nib
  12. local.properties
  13. .settings/
  14. .loadpath
  15. .recommenders
  16.  
  17. # Eclipse Core
  18. .project
  19.  
  20. # External tool builders
  21. .externalToolBuilders/
  22.  
  23. # Locally stored "Eclipse launch configurations"
  24. *.launch
  25.  
  26. # PyDev specific (Python IDE for Eclipse)
  27. *.pydevproject
  28.  
  29. # CDT-specific (C/C++ Development Tooling)
  30. .cproject
  31.  
  32. # JDT-specific (Eclipse Java Development Tools)
  33. .classpath
  34.  
  35. # Java annotation processor (APT)
  36. .factorypath
  37.  
  38. # PDT-specific (PHP Development Tools)
  39. .buildpath
  40.  
  41. # sbteclipse plugin
  42. .target
  43.  
  44. # Tern plugin
  45. .tern-project
  46.  
  47. # TeXlipse plugin
  48. .texlipse
  49.  
  50. # STS (Spring Tool Suite)
  51. .springBeans
  52.  
  53. # Code Recommenders
  54. .recommenders/
  55.  
  56. ### Intellij ###
  57. # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
  58. # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
  59.  
  60. # User-specific stuff:
  61. .idea/workspace.xml
  62. .idea/tasks.xml
  63.  
  64. # Sensitive or high-churn files:
  65. .idea/dataSources/
  66. .idea/dataSources.ids
  67. .idea/dataSources.xml
  68. .idea/dataSources.local.xml
  69. .idea/sqlDataSources.xml
  70. .idea/dynamic.xml
  71. .idea/uiDesigner.xml
  72.  
  73. # Gradle:
  74. .idea/gradle.xml
  75. .idea/libraries
  76.  
  77. # Mongo Explorer plugin:
  78. .idea/mongoSettings.xml
  79.  
  80. ## File-based project format:
  81. *.iws
  82.  
  83. ## Plugin-specific files:
  84.  
  85. # IntelliJ
  86. /out/
  87.  
  88. # mpeltonen/sbt-idea plugin
  89. .idea_modules/
  90.  
  91. # JIRA plugin
  92. atlassian-ide-plugin.xml
  93.  
  94. # Crashlytics plugin (for Android Studio and IntelliJ)
  95. com_crashlytics_export_strings.xml
  96. crashlytics.properties
  97. crashlytics-build.properties
  98. fabric.properties
  99.  
  100. ### Intellij Patch ###
  101. # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
  102.  
  103. # *.iml
  104. # modules.xml
  105. # .idea/misc.xml
  106. # *.ipr
  107.  
  108. ### Intellij+iml ###
  109. # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
  110. # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
  111.  
  112. # User-specific stuff:
  113.  
  114. # Sensitive or high-churn files:
  115.  
  116. # Gradle:
  117.  
  118. # Mongo Explorer plugin:
  119.  
  120. ## File-based project format:
  121.  
  122. ## Plugin-specific files:
  123.  
  124. # IntelliJ
  125.  
  126. # mpeltonen/sbt-idea plugin
  127.  
  128. # JIRA plugin
  129.  
  130. # Crashlytics plugin (for Android Studio and IntelliJ)
  131.  
  132. ### Intellij+iml Patch ###
  133. # Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
  134.  
  135. *.iml
  136. modules.xml
  137. .idea/misc.xml
  138. *.ipr
  139.  
  140. ### Java ###
  141. *.class
  142.  
  143. # BlueJ files
  144. *.ctxt
  145.  
  146. # Mobile Tools for Java (J2ME)
  147. .mtj.tmp/
  148.  
  149. # Package Files #
  150. *.jar
  151. *.war
  152. *.ear
  153.  
  154. # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
  155. hs_err_pid*
  1. ### Git ###
  2. *.orig
  3.  
  4. ### SVN ###
  5. .svn/
  1. ###macOS###
  2. *.DS_Store
  3. .AppleDouble
  4. .LSOverride
  5.  
  6. # Icon must end with two \r
  7. # Icon
  8. # Thumbnails
  9. ._*
  10. # Files that might appear in the root of a volume
  11. .DocumentRevisions-V100
  12. .fseventsd
  13. .Spotlight-V100
  14. .TemporaryItems
  15. .Trashes
  16. .VolumeIcon.icns
  17. .com.apple.timemachine.donotpresent
  18. # Directories potentially created on remote AFP share
  19. .AppleDB
  20. .AppleDesktop
  21. #Network Trash Folder
  22. #Temporary Items
  23. .apdisk

ios 项目的.gitignore的更多相关文章

  1. .gitignore详解(附上eclipse的java项目的 .gitignore文件)

    今天讲讲Git中非常重要的一个文件――.gitignore. 首先要强调一点,这个文件的完整文件名就是“.gitignore”,注意最前面有个“.”.这样没有扩展名的文件在Windows下不太好创建, ...

  2. 系列文章:老项目的#iPhone6与iPhone6Plus适配#(持续更新中,更新日期2014年10月12日 星期日 )

    本文永久地址为http://www.cnblogs.com/ChenYilong/p/4020399.html ,转载请注明出处. ********************************** ...

  3. 老项目的#iPhone6与iPhone6Plus适配#LaunchImage适配

    本文永久地址为 http://www.cnblogs.com/ChenYilong/p/4020384.html,转载请注明出处.  Evernote印象笔记链接:https://www.everno ...

  4. 老项目的#iPhone6与iPhone6Plus适配#Icon适配

        本文永久地址为http://www.cnblogs.com/ChenYilong/p/4020373.html ,转载请注明出处.  这是Evernote印象笔记的链接:https://www ...

  5. 老项目的#iPhone6与iPhone6Plus适配#iOS8无法开启定位问题和#解决方案#

    本文永久地址为 http://www.cnblogs.com/ChenYilong/p/4020359.html,转载请注明出处. iOS8的定位和推送的访问都发生了变化, 下面是iOS7和iOS8申 ...

  6. 老项目的#iPhone6于iPhone6Plus适配#iPhone6分辨率与适配

    技术博客http://www.cnblogs.com/ChenYilong/    本文永久地址为http://www.cnblogs.com/ChenYilong/p/4011744.html ,转 ...

  7. 搜刮一些开源项目的APP

    iOS完整App资源收集 <iOS完整app资源收集>  <GitHub 上有哪些完整的 iOS-App 源码值得参考?> <GitHub 上有哪些完整的 iOS-App ...

  8. 团队项目——编写项目的Spec

    团队项目--编写项目的Spec 一.Spec的目标        spec主要用来说明软件的外部功能,和用户的交互情况,主要用来说明软件内部的设计.图片编辑器是与生活息息相关的一个必备软件,随的流行, ...

  9. 如何修改MyEclipse项目的web context-root

    修改一个MyEclipse项目的名称很容易,右键点项目->rename就行了. 但此时项目的web context-root 还没有改变,需要右键点项目->properties->M ...

随机推荐

  1. 【Codeforces235C】Cyclical Quest 后缀自动机

    C. Cyclical Quest time limit per test:3 seconds memory limit per test:512 megabytes input:standard i ...

  2. begin

    经历了一段时间的使用Github发表个人博客,我的感受就是很装逼,但是很麻烦--,因为都是自己手动弄的,还不如博客园方便,还有自己买了域名,但是SEO却提不上起,或者说压根就没有 --#,所以说,经过 ...

  3. 解决NetBeans运行卡顿问题

    NetBeans安装目录下的此文件打开编辑 找到这一行,在后面添加最大的运行内存,这里我改成了900M(红色部分),重启NetBeans即可.netbeans_default_options=&quo ...

  4. 命名空间jquery

    命名空间的意思就是 同一个元素有绑定了2个相同的事件,比如2个scroll,这个时候你做其他交互的时候只想触发第二个scroll事件  就可以用命名空间做了 <button id="b ...

  5. 网站中使用echart

    在网站开发中,可能会使用折线图,圆饼图,等等 来丰富网页对数据的展示,可以使用echart http://echarts.baidu.com/tutorial.html#5%20%E5%88%86%E ...

  6. 深入理解JS的闭包

    闭包(closure)是Javascript语言的一个难点,也是它的特色,很多高级应用都要依靠闭包实现. 一.变量的作用域 要理解闭包,首先必须理解Javascript特殊的变量作用域. 变量的作用域 ...

  7. Base64编码【转】

    转http://www.cnblogs.com/luguo3000/p/3940197.html 开发者对Base64编码肯定很熟悉,是否对它有很清晰的认识就不一定了.实际上Base64已经简单到不能 ...

  8. sqlserver多文件组数据库的备份和还原实战

    数据库文件过大时就要进行数据分区,就是讲数据库拆分到多个文件组中.已方便数据文件管理,提高数据库的读取效能,多文件组如何进行数据库的备份和还原呢,今天主要做多文件组数据库的备份和还原实验. 第一步 创 ...

  9. CMake

    使用CMake编译跨平台静态库 http://www.tuicool.com/articles/3uu2Yj cmake命令 安装.用法简介 https://fukun.org/archives/04 ...

  10. 室内定位系列(二)——仿真获取RSS数据

    很多情况下大家都采用实际测量的数据进行定位算法的性能分析和验证,但是实际测量的工作量太大.数据不全面.灵活性较小,采用仿真的方法获取RSS数据是另一种可供选择的方式.本文介绍射线跟踪技术的基本原理,以 ...