gitignore_global设置

网友投稿 554 2022-11-27

gitignore_global设置

gitignore_global设置

defaults write com.apple.finder AppleShowAllFiles -bool true; killall Finder //显示隐藏文件 defaults write com.apple.finder AppleShowAllFiles -bool false; killall Finder //隐藏隐藏文件 早期的OS X(10.6~10.8)系统可以使用如下两条命令来开始或者关闭系统隐藏文件的显示:

defaults write com.apple.Finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件

defaults write com.apple.Finder AppleShowAllFiles No && killall Finder //不显示隐藏文件

当升级到OS X 10.9 Mavericks版本之后,这两条命令需要做一些修改,变成了如下命令:

defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件

defaults write com.apple.finder AppleShowAllFiles No && killall Finder //不显示隐藏文件

具体操作是:打开一个Finder 同时按住commamd+shift+G,输入~/.gitignore_global,然后前往,打开文件,将下面的文字复制粘贴进去保存即可

OS X

.DS_Store

Xcode

build/ *.pbxuser !default.pbxuser *.mode1v3 !default.mode1v3 *.mode2v3 !default.mode2v3 *.perspectivev3 !default.perspectivev3 xcuserdata/ *.xccheckout profile *.moved-aside DerivedData *.hmap *.ipa

Bundler

.bundle Carthage

We recommend against adding the Pods directory to your .gitignore. However

you should judge for yourself, the pros and cons are mentioned at:

​​if you ignore the Pods directory, make sure to uncomment

pod install in .travis.yml

#

Pods/

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:使用RestTemplate访问https实现SSL请求操作
下一篇:苹果开发用的电脑空间不足怎么办
相关文章

 发表评论

暂时没有评论,来抢沙发吧~