【发布时间】:2016-04-24 02:09:40
【问题描述】:
我可以在本地和全局级别设置变量,但不能在系统范围内设置。
这些命令有效:
git config --local core.editor "subl"
git config --global core.editor "subl"
但这不是(即使是 sudo )
git config --system core.editor "subl"
报错:
错误:无法锁定配置文件 /Library/Developer/CommandLineTools/usr/etc/gitconfig:没有这样的文件或 目录
【问题讨论】: