简体   繁体   English

git citool不起作用

[英]git citool doesn't work

I installed xCode on my mac, and now git citool doesn't work. 我在Mac上安装了xCode,现在git citool不起作用。 All the rest of the git functions work properly, but when running git citool, I get the message: 其余所有git函数均能正常工作,但是在运行git citool时,我收到消息:

/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-citool: line 15: /Applications/Xcode.app/Contents/Developer/usr/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish: No such file or directory /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-citool: line 15: exec: /Applications/Xcode.app/Contents/Developer/usr/share/git-gui/lib/Git Gui.app/Contents/MacOS/Wish: cannot execute: No such file or directory /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-citool:第15行:/Applications/Xcode.app/Contents/Developer/usr/share/git-gui/lib/Git Gui。 app / Contents / MacOS / Wish:无此类文件或目录/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-citool:第15行:exec:/Applications/Xcode.app/Contents/开发人员/ usr / share / git-gui / lib / Git Gui.app/Contents/MacOS/Wish:无法执行:没有这样的文件或目录

Is there something I forgot to install? 我有忘记安装的东西吗?
Thanks! 谢谢!

Apologies for the very late reply, I found this question via Google search. 非常抱歉,我通过Google搜索找到了这个问题。 At this point, my answer is more for anyone who may still be having this problem (or if I happen to forget this solution in the future). 在这一点上,我的答案是对仍然存在此问题的任何人(或者如果我将来忘记此解决方案的人)。

There's an informative bug report (this very issue) at Google Code for the git os x installer project: https://code.google.com/p/git-osx-installer/issues/detail?id=41 . Google代码在git os x安装程序项目中提供了一个内容丰富的错误报告(此问题): https : //code.google.com/p/git-osx-installer/issues/detail? id =41

In summary, you should download and install the activetcl package from activestate ( http://www.activestate.com/activetcl/downloads ). 总之,您应该从activestate( http://www.activestate.com/activetcl/downloads )下载并安装activetcl软件包。 Restart your terminal session, and the error should go away. 重新启动您的终端会话,错误应该消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM