Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,998
Community Members
 
Community Events
168
Community Groups

git.exe fsmonitor process did not exit after close sourcetree

Edited

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

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

Atlassian Community Events