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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.