I have Git LFS (ver. 2.2.1) already installed on my computer in
C:\Program Files\Git LFS
as a result of having run the installer downloaded from its official site at https://git-lfs.github.com/
the question: How do I get SourceTree for Windows to use that version, rather than the one that is embedded with it?
(which is ver. 2.0.2, as shown below)
I have searched settings for that but couldn't find any.
My current version of SourceTree for Windows is 126.96.36.199
What I have attempted:
I have searched my disk for copies of git-lfs.exe, and found:
C:\Program Files\Git LFS\git-lfs.exe
The first one is the one I have installed, the second one seems to be the one used by SourceTree.
To check that, I checked its version to check that it matched the one reported by SourceTree, and it does
git-lfs/2.0.2 (GitHub; windows 386; go 1.8; git 85e2aec4)
Then I tried to move that copy of git-lfs.exe away from that folder, to see if that tricked SourceTree into using the system one instead.
Surprisingly, that seemed to work (see image below), BUT
BUT now every time I open a repository with LFS enabled, I am greeted with the following dialog:
and there seems to be no way to tell it to remember my decision NOT TO install embedded Git LFS.
I admit that this whole stuff feels like a workaround. The real way to get this right would be to do it as in the macOS version, where there is a separate set of buttons to choose whether to Use Embedded git-lfs, or use the system one.
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot