gpt4 book ai didi

git - 运行 gitk 时出错

转载 作者:行者123 更新时间:2023-12-05 07:43:46 29 4
gpt4 key购买 nike

在 Git 工作目录的顶层从命令行运行 gitk 会产生以下错误消息,并且 gitk 无法打开:

objc[1031]: Objective-C garbage collection is no longer supported.
/usr/local/bin/wish: line 2: 1031 Abort trap: 6 "$(dirname $0)/../../../Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish" "$@"

此外,还会 pop 以下错误消息(请参见下面的屏幕截图):

Wish quit unexpectedly.
Click Reopen to open the application again. Click Report to see more detailed information and send a report to Apple.
Ignore | Report... | Reopen

Popup error message

我该如何解决这个问题?


操作系统:macOS Sierra,版本 10.12.4
Git 版本:2.11.0 (Apple Git-81)

最佳答案

打开~/.config/git/gitk并修改

set geometry(state) zoomed

set geometry(state) normal

Reference

关于git - 运行 gitk 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43389043/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com