My project has a custom prehook that I cannot remove. I would like SourceTree not to automatically call 'git lfs install', or at least not to display an error pop-up after calling it.
Hi @黄宁源
Welcome to the Atlassian Community!
I suggest resolving this conflict by configuring Git to ignore local hook management with the command: git config --local sourcetree.hooks.manage false within that repository. This prevents Sourcetree from running its automated git lfs install on startup, silences the error pop-up, and preserves your custom pre-hook script.
It looks like you're new here. Sign in or register to get started.