Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Latest notified update for Embedded GIT to 2.17.1.2 does not install update GIT-LFS

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.

2 answers

The following approach to "reinstalling" the embedded git thanks to@Nathan Niesen worked for me:

  1. Exit SourceTree
  2. Delete `%localappdata%/Atlassian/Sourcetree/git_local`
  3. Start SourceTree
  4. Chose to install embedded git when SourceTree complained about not finding it.
0 votes
minnsey Atlassian Team Jun 20, 2018

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?

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?

I've found the problem already (of course right after posting my question first :-) )

I found 2 versions on my system:

  • %localappdata%/Atlassian/Sourcetree/git_local/mingw32/libexec/git-core contained v2.0.2
  • %localappdata%/Atlassian/Sourcetree/git_local/mingw32/bin contained 2.4.2

 

Disabling the first version (by renaming the file to .NOT) solved the issue.

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:

  1. Exit SourceTree
  2. Delete `%localappdata%/Atlassian/Sourcetree/git_local`
  3. Start SourceTree
  4. Chose to install embedded git when SourceTree complained about not finding it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you