Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git.exe fsmonitor process did not exit after close sourcetree

ydcool December 12, 2021

On windows, Sourcetree.exe will start "git.exe fsmonitor--daemon run" process for every local repository(even not opened in tab), I didn't found how to disable this feature, and what's worse, those process will keep running/existing after I close/shutdown the SourceTree.exe, and it'll prevent any action on my local repository folder, I have to kill them all one by one in task manager. It's strange, and kind of bug.

Additional info:

  • SourceTree version: 3.4.7
  • git version:   2.32.0.windows.2
  • OS: Window 10 Professional 1803 (17134.1304)

1 answer

0 votes
KROGER Ansgar July 14, 2022

I have the same issue.
Running

wmic process where "commandline like 'git fsmon%'" get processid, commandline

returns 65 processes. To kill them after sourcetree closed I use

wmic process where "commandline like 'git fsmon%'" call terminate

Playing around with the settings it seems that if I disable the "General" option "Refresh automatically when files change" sourcetree will no longer start all these processes.

I tried doing this for individual repositories thinking that changing the option to automatically refresh (Miscellaneous section) might have an impact but I could not be sure. After disabling the above global property, re-enabling it did not seem to start the processes anymore...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events