设置git&svn 忽略文件完整版

1.svn

打开cornerstone


设置git&svn 忽略文件完整版_第1张图片
Snip20190227_4.png
设置git&svn 忽略文件完整版_第2张图片
Snip20190227_5.png

复制粘贴 :
.DS_Store,build/,.pbxuser,!default.pbxuser,.mode1v3,!default.mode1v3,.mode2v3,!default.mode2v3,.perspectivev3,!default.perspectivev3,.xcworkspace,!default.xcworkspace,xcuserdata,profile,.moved-aside,DerivedData,.idea/,.o,.lo,.la,.al,.libs,.so,.so.[0-9],.pyc,.pyo,.rej,~,##,.#,..swp,.xcuserdata,xcuserdata,Pods,*.lock,.xcuserstate

2.git

执行快捷键 shift+commmand+. 打开隐藏文件 ,再敲一次这个快捷键即可还原


设置git&svn 忽略文件完整版_第3张图片
Snip20190227_6.png

找到.gitignore 没有的话自己可手动添加一个
复制粘贴:

# 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
*.xccheckout
*.xcscmblueprint

## 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://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/

.DS_Store
UserInterfaceState.xcuserstate
xcschememanagement.plist
Breakpoints_v2.xcbkptlist
Package
Pods
Gemfile.lock
Podfile.lock

你可能感兴趣的:(设置git&svn 忽略文件完整版)