sourcetree设置忽略文件,点击设置->高级->编辑。
输入:
# Xcode # build/ *.pbxuser *.mode1v3 *.mode2v3 *.perspectivev3 xcuserdata *.xccheckout *.moved-aside DerivedData *.hmap *.ipa *.xcuserstate #忽略.DS_Store .DS_Store */.DS_Store */*/.DS_Store */*/*/.DS_Store # fastlane /*/fastlane # CocoaPods Pods !Podfile Podfile.lock # # We recommend against adding the Pods directory to your .gitignore. However # you should judge for yourself, the pros and cons are mentioned at: # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control # # Pods/