Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I stop and start TGitCache.exe gracefully

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

like image 789
Notinlist Avatar asked May 27 '13 12:05

Notinlist


People also ask

How to restart Tortoise Git?

Left click -> Customize -> Menu tab and hit Reset/Restore.

What is Tgitcache EXE?

This is the background caching daemon for TortoiseGit (TortoiseSVN ported for Git).


2 Answers

  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.

like image 103
Notinlist Avatar answered Sep 20 '22 14:09

Notinlist


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).

like image 40
MrTux Avatar answered Sep 17 '22 14:09

MrTux