error on launch: "git version >= [X] is required for Git LFS, your version: [blank]"
See original GitHub issueDescription
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)
Logs
Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (10 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.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.