显示系统文件/在osx中显示git ignore [英] Show system files / Show git ignore in osx
本文介绍了显示系统文件/在osx中显示git ignore的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下,无法在osx中看到.gitignore文件。什么是命令来揭示这些文件?
解决方案
打开终端并键入
默认写入com.apple.Finder AppleShowAllFiles TRUE
在OS X 10.9上:
默认写入com.apple.finder AppleShowAllFiles TRUE
>
然后您必须重新启动finder:
killall Finder
code>
前缀为'。'的OS X中的任何文件名都被视为隐藏。
By default it is not possible to see .gitignore files in osx. What is command to reveal these files?
解决方案
Open the terminal and type
on OS X 10.8:
defaults write com.apple.Finder AppleShowAllFiles TRUE
on OS X 10.9:
defaults write com.apple.finder AppleShowAllFiles TRUE
Then you must relaunch finder:
killall Finder
Any file name in OS X prefixed with a '.' is considered "hidden".
这篇关于显示系统文件/在osx中显示git ignore的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文