Related to this issue the currently notified update to GIT does not appear to install when updated through the Tools > Options > Git > "Update Embedded"
It downloads PortableGit-2.17.1.2-32-bit.7z.exe
After extracting and restarting SourceTree the Embedded GIT still shows 2.17.1/LibGit2Sharp 0.24.0 + git-lfs v2.0.2 and notifies that an update to Git-LFS is available.
The following approach to "reinstalling" the embedded git thanks to@Nathan Niesen worked for me:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Can you check the version of Git_LFS.exe in %localappdata%/Atlassian/Sourcetree/git_extras? Is that the 2.0.2 version?
Sourcetree should remove that copy.
Alternatively is it possible you have another copy of Git-LFS installed independently but visible via your PATH?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm experiencing the same issue. There's no Git_LFS.exe in %localappdata%/Atlassian/Sourcetree/git_extras and no other copy visible via my PATH (typing git_lfs just gives me a "not recognized" message).
Is there anything else I can check?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've found the problem already (of course right after posting my question first :-) )
I found 2 versions on my system:
Disabling the first version (by renaming the file to .NOT) solved the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Jeroen Brattinga! I had the same issue with the embedded Git and the "A newer version of git-lfs is available" and found that my `Sourcetree/git_local` also had the duplicate `git-lfs.exe` files with dates that didn't match the other files in the "distributions".
Since there were other files with old dates as well I took the following approach to "reinstalling" the embedded git:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.