不明原因造成打开github desktop就卡住,不能操作,没有办法克隆源码。尝试在Application里面删除,重新安装仍然不能凑效。没有办法,借助Google找到了下面解决方案,亲测可行,分享给大家。
https://gist.github.com/naomik/11245234
该网页上有作者写的卸载github脚本,网页下面关于脚本运行说明如下:
1. Click the 'Raw' link at the top of the page.
2. File > Save-as
3. Put it into your Downloads folder, keep the original name (uninstall-GHfM.sh)
4. Open Terminal (from Applications folder / Utilities folder)
5. Put the following into Terminal:
sudo bash ~/Downloads/uninstall-GHfM.sh
6. Hit the "return" key
7. When prompted, enter your admin password (and hit "return" after)
参考:
1.https://gist.github.com/naomik/11245234