question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error on launch: "git version >= [X] is required for Git LFS, your version: [blank]"

See original GitHub issue

Description

Error on launch about invalid version of Git LFS

Version

  • GitHub Desktop: 1.2.6
  • Operating system: Microsoft Windows [Version 10.0.16299.547]

Steps to Reproduce

Unsure what changes to the app or my environment may have occurred to cause this to occur. It happens on app launch every time now.

Expected Behavior

No error should occur, this issue is new; have been using app for 6 mos on same system with same repos without a problem.

Actual Behavior

Error message about required version of Git LFS not installed. It will not recognize any of my remote repositories if you click the Close button. It treats all my repos as local only and wants me to publish them. Logs say:

2018-07-25T14:23:15.361Z - error: [ui] `git lfs install --skip-repo` exited with an unexpected code: 2.
git version >= 1.8.2 is required for Git LFS, your version: 

that log line isn’t cutoff (log file below). It’s not reporting a version.

Additional Information

PS C:\Program Files\Git\mingw64\bin> .\git-lfs.exe version
git-lfs/2.4.2 (GitHub; windows amd64; go 1.8.3; git 6f4b2e98)

gitlfserror

Logs

2018-07-25.desktop.production.log

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, Aug 15, 2018

My PATH includes C:\Users\[USER]\AppData\Local\GitHubDesktop\bin but nothing else related to Git, so I cannot call git from the command prompt. I have tried uninstalling, reinstalling, etc.

GitHub Desktop ships an embedded Git that isn’t added to your PATH. You’ll have to install Git for Windows if you want Git under C:\Program Files and accessible on your PATH.

0reactions
shiftkeycommented, Sep 26, 2018

I’m going to close this out because I don’t believe there’s anything we can do in Desktop to address this, and it seems like updates to products like Carbon Black should resolve the issue eventually.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git: 'lfs' is not a git command unclear
git -lfs requires git version 1.8.3.1 or later. You can check the version you have by running git --version , and update if...
Read more >
Git LFS - large file storage | Atlassian Git Tutorial
Git LFS is a Git extension that improves handling of large files by lazily downloading the needed versions during checkout, rather than during...
Read more >
Git - Git Configuration
If you want to see a list of all the options your version of Git recognizes, you can run. $ man git-config. This...
Read more >
Git LFS: Why and how to use - mydeveloperplanet.com
Ensure that all the developers have Git LFS installed. When someone without Git LFS installed commits a file which should be associated with...
Read more >
Why and How to Use Git LFS
Git LFS (Large File Storage), an open-source Git extension, ... Although Git is well known as a version control system, the use of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found