如何安装任何来源应用
- 10.13 版本需要开启“允许任何来源”
终端中输入如下命令
sudo spctl --master-disable

- 10.15 需要如下命令
终端输入如下命令
sudo xattr -r -d com.apple.quarantine /Applications/xxx.app
/Applications/xxx.app
可将应用拖拽至终端中
查看CPU具体型号
终端中输入如下命令
sysctl -n machdep.cpu.brand_string
Git项目中删除 .DS_Store
文件
在项目所在中
打开终端中输入如下命令
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch