{"action":"opened","issue":{"url":"https://api.github.com/repos/icewaters/icewaters.github.io/issues/65","labels_url":"https://api.github.com/repos/icewaters/icewaters.github.io/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/icewaters/icewaters.github.io/issues/65/comments","events_url":"https://api.github.com/repos/icewaters/icewaters.github.io/issues/65/events","html_url":"https://github.com/icewaters/icewaters.github.io/issues/65","id":94902523,"number":65,"title":"mac git安装","user":{"login":"icewaters","id":2446601,"avatar_url":"https://avatars.githubusercontent.com/u/2446601?v=3","gravatar_id":"","url":"https://api.github.com/users/icewaters","html_url":"https://github.com/icewaters","followers_url":"https://api.github.com/users/icewaters/followers","following_url":"https://api.github.com/users/icewaters/following{/other_user}","gists_url":"https://api.github.com/users/icewaters/gists{/gist_id}","starred_url":"https://api.github.com/users/icewaters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewaters/subscriptions","organizations_url":"https://api.github.com/users/icewaters/orgs","repos_url":"https://api.github.com/users/icewaters/repos","events_url":"https://api.github.com/users/icewaters/events{/privacy}","received_events_url":"https://api.github.com/users/icewaters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-14T09:18:26Z","updated_at":"2015-07-14T09:18:26Z","closed_at":null,"body":"In later versions of OS X (Yosemite and onward) 系统自带了git工具，但是需要安装Xcode 使用。系统默认的git位于\r\n`/usr/bin/git`. \r\n官网下载 http://git-scm.com\r\n阅读下载的安装文件中的readme文件，可知官方的git安装在`/usr/local/git`下。卸载使用它自带的卸载脚本。\r\n\r\n现在问题是我把`/usr/bin/git`删除了。\r\n所以我在终端上输入命令行git不在提示要我安装xcode工具了。\r\n\r\n官方安装中有做备份： `sudo mv /usr/bin/git /usr/bin/git-system`.\r\n\r\n\r\n\r\n"}}