吾就安装个软件,竟然报这个错误:
error: could not lock config file .git/config: Permission denied Error: Command failed with exit 255: git
解决办法
sudo chgrp -R admin /usr/local sudo chmod -R g+w /usr/local
执行时会报目录没权限,不必理会。
吾就安装个软件,竟然报这个错误:
error: could not lock config file .git/config: Permission denied Error: Command failed with exit 255: git
解决办法
sudo chgrp -R admin /usr/local sudo chmod -R g+w /usr/local
执行时会报目录没权限,不必理会。