升级gitk后,Error in startup script: unknown color name "lime"

$ gitk
Error in startup script: unknown color name "greeen"
(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)

open /usr/local/git/bin/gitk file in any text editor

search 'lime' keyword in file

replace 'lime' to 'green' with all in file

save file changes

try again gitk then it works
原文地址:https://www.cnblogs.com/timssd/p/6722887.html