现象描述
1 | Warning: git-lfs 2.5.1 is already installed, it's just not linked |
解决办法
This is probably an error related to permissions.
Try
1 | sudo chown -R $(whoami) /usr/local/share/ |
or, if you only need this on the git-core path
1 | sudo chown -R $(whoami) /usr/local/share/git-core |
might be enough.
Then run
1 | brew link git |
again.
最后 问题解决
1 | localhost:~ jsroads$ sudo chown -R $(whoami) /usr/local/share/ |
--- 本文结束 The End ---