27

I upgraded to MacOS Sierra today and went to my repo like normal but none of the git commands work, in fact my machine doesn't recognize that I have git installed. help?

I found this article but it seems a little elaborate.

4

1 回答 1

52

这有点复杂,在许多情况下,您需要做的就是重新安装 xcode 开发人员工具。

打开终端或 iTerm 并运行:

xcode-select --install
于 2016-09-22T15:37:15.753 回答