brew install jq, error: could not lock config file .git/config: Permission denied


brew install jq 失败,如附图
error: could not lock config file .git/config: Permission denied

可能是权限问题吧
你可以参考这个链接看看,尽量别使用sudo
https://github.com/skwp/dotfiles/issues/675