I'm getting the error shown on the image below after running gitk
command on Git Bash shell and browsing my diffs on gitk gui tool.
The problem is that I can't find the stale gitk-tmp file this dialog is referring to. I've looked for the path ~/.config/git/gitk-tmp
both on the project root folder and on the Git Bash installation folder, but couldn't find it in any of these locations.
I've also configured hidden folders to be shown on windows explorer to make sure that I would see them if they were hidden, but also with no luck. For example, there's a hidden folder called .git
inside the project root folder, but there's no "gitk-tmp" file inside it either.
Could anyone please give me a hand on finding and removing this "gitk-tmp" file so that the error shown in the image won't happen anymore? Thanks.
As max630 mentioned, ~
means the home directory on your machine.
Such as if you are using windows OS, then you should go to C:\Users\username\.config\git
directory to find the gitk-tmp
file and delete it. And make sure the C:\Users\username\.config\git
directory only has the file gitk
.