desktop: error on launch: "git version >= [X] is required for Git LFS, your version: [blank]"
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)

Logs
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (10 by maintainers)
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 Filesand accessible on your PATH.