其他分享
首页 > 其他分享> > macos中gitk报错

macos中gitk报错

作者:互联网

报错信息如下:

Error in startup script: unknown color name "lime"
    (processing "-fore" option)
    invoked from within
"$ctext tag conf m2 -fore [lindex $mergecolors 2]"
    (procedure "makewindow" line 347)
    invoked from within
"makewindow"
    (file "/usr/local/bin/gitk" line 12434)

修复方案如下:

cd  /usr/local/bin

sudo cp gitk gitkbak

sudo vi gitk

进入gitk后,把lime全部替换成green

:%s/lime/green/g

:wq!

 

返还项目目录,执行gitk

 

标签:macos,sudo,within,gitk,invoked,报错,lime
来源: https://www.cnblogs.com/lakeslove/p/12980845.html