How can I stop and start TGitCache.exe gracefully

2020-05-12 06:27发布

I want to remove my local repository entirely, but TGitCache.exe keeps an open handle to the directory. I would like to shut down it gracefully, delete the folder and start it again.

3条回答
beautiful°
2楼-- · 2020-05-12 06:54

You can enable a systray icon for TGitCache.

Open TortoiseGit settings and open Advanced page. There set CacheTryIcon to true and restart TGitCache.

Now you have a new TortoiseGit icon in the systray where you can select "Exit" to close TGitCache (it will restart automatically again). You can also select "Disable Status cache" which will set Status cache to None (see https://stackoverflow.com/a/16921151/3906760).

查看更多
闹够了就滚
3楼-- · 2020-05-12 07:02
  1. Open TortoiseGit Settings > Icon Overlays
  2. In section "Status cache" select "None"
  3. Click OK

TGitCache.exe will disappear from the process list.

icon overlays

If you need it again, you can turn it on by selecting another option, like "Default". After a click in an explorer window TGitCache.exe will run again.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2020-05-12 07:05

Have you seen this?

https://tortoisegit.org/issue/401

It's a bug report on TortoiseGit that seems to be describing your exact problem.

Basically, it seems that TGitCache.exe shouldn't be doing that, and in the newest versions of TortoiseGit it doesn't. Perhaps you might try upgrading your TortoiseGit?

查看更多
登录 后发表回答