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.

git version >= 1.8.2 is required for Git LFS, your version: --> reissued

See original GitHub issue

Describe the bug

Write a clear and concise description of what the bug is. start Github desktop then error window pupup "git version >= 1.8.2 is required for Git LFS, your version: "

Version & OS

Version 2.9.11 (x64) & Windows 10 Enterprise/ Ver 20H2 / build 19042.1083

Open the ‘About GitHub Desktop’ menu to see the GitHub Desktop version. Also include what operating system you are using.

Steps to reproduce the behavior

  1. Go to “Window”
  2. Click on ‘Github desktop’
  3. Github desktop run
  4. See error popup

Expected behavior

There is no error!!

C:\Program Files\Git\cmd>git version git version 2.33.0.windows.2

PS C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\resources\app\git\mingw64\bin> .\git version git version 2.32.0.windows.2

Write a clear and concise description of what you expected to happen.

Actual behavior

Write a clear and concise description of what actually happened.

Screenshots

image

Add screenshots to help explain your problem, if applicable.

Logs

2022-03-17T02:23:05.578Z - info: [main] Received possible protocol arguments: 2 2022-03-17T02:23:05.580Z - error: [main] Malformed launch arguments received: C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\GitHubDesktop.exe,–squirrel-firstrun 2022-03-17T02:23:05.910Z - info: [ui] [AppStore] loading 2 repositories from store 2022-03-17T02:23:06.069Z - info: [ui] launching: 2.9.11 (Windows 10.0.19042) 2022-03-17T02:23:06.071Z - info: [ui] execPath: ‘C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\GitHubDesktop.exe’ 2022-03-17T02:23:06.282Z - error: [ui] git lfs install --skip-repo exited with an unexpected code: 2. stderr: git version >= 1.8.2 is required for Git LFS, your version:

2022-03-17T04:38:15.581Z - info: [ui] [AppStore] loading 2 repositories from store 2022-03-17T04:38:15.758Z - info: [ui] launching: 2.9.11 (Windows 10.0.19042) 2022-03-17T04:38:15.759Z - info: [ui] execPath: ‘C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\GitHubDesktop.exe’ 2022-03-17T04:38:15.956Z - error: [ui] git lfs install --skip-repo exited with an unexpected code: 2. stderr: git version >= 1.8.2 is required for Git LFS, your version:

2022-03-17T04:42:56.912Z - info: [ui] Executing getStatus: git --no-optional-locks status --untracked-files=all --branch --porcelain=2 -z (took 1.768s) 2022-03-17T04:42:57.239Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 1 repositories took 2.1s of which 0.0s paused, total 2.1s 2022-03-17T06:03:19.083Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 1 repositories took 0.2s of which 0.0s paused, total 0.2s 2022-03-17T06:04:09.179Z - info: [ui] [AppStore] loading 2 repositories from store 2022-03-17T06:04:09.328Z - info: [ui] launching: 2.9.11 (Windows 10.0.19042) 2022-03-17T06:04:09.330Z - info: [ui] execPath: ‘C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\GitHubDesktop.exe’ 2022-03-17T06:04:09.527Z - error: [ui] git lfs install --skip-repo exited with an unexpected code: 2. stderr: git version >= 1.8.2 is required for Git LFS, your version:

2022-03-17T06:06:18.441Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 1 repositories took 0.1s of which 0.0s paused, total 0.1s 2022-03-17T06:15:31.814Z - info: [ui] [AppStore] loading 2 repositories from store 2022-03-17T06:15:31.975Z - info: [ui] launching: 2.9.11 (Windows 10.0.19042) 2022-03-17T06:15:31.976Z - info: [ui] execPath: ‘C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.11\GitHubDesktop.exe’ 2022-03-17T06:15:32.220Z - error: [ui] git lfs install --skip-repo exited with an unexpected code: 2. stderr: git version >= 1.8.2 is required for Git LFS, your version:

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
twinskdscommented, Mar 28, 2022

Seems like this happened in the past #5247

There are some suggestions there like:

  • Checking if there is anything in your PATH that could point to a different git
  • Reinstalling git for Windows and restarting your computer
  • Make sure the git for Windows signature is trusted

In any case, it seems this issue is something beyond’s Desktop control, sorry 😞 Desktop ships with its own version of git and git-lfs and should be compatible, so there must be something else in your setup messing with this 😕

Thanks for your help!

I get the same error in all applications. I tried to find a way to solve the problem on the web, but most of them came out 4 years ago, and it seems that the content is different from what it is now.

Once again, the issue

  1. github desktop -> decsibed above(log data) 2022-03-27T23:43:57.524Z - info: [ui] [AppStore] loading 2 repositories from store 2022-03-27T23:43:57.526Z - info: [ui] [AppStore] found account: twinskds (twinskds) 2022-03-27T23:43:57.809Z - info: [ui] launching: 2.9.12 (Windows 10.0.19042) 2022-03-27T23:43:57.812Z - info: [ui] execPath: ‘C:\Users\admin\AppData\Local\GitHubDesktop\app-2.9.12\GitHubDesktop.exe’ 2022-03-27T23:43:58.010Z - error: [ui] git lfs install --skip-repo exited with an unexpected code: 2. stderr: git version >= 1.8.2 is required for Git LFS, your version:

2022-03-27T23:43:58.142Z - info: [ui] Subscribed ‘twinskds’ to Alive channel 2022-03-27T23:43:58.595Z - info: [ui] Stats reported. 2022-03-27T23:43:59.543Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.598s) 2022-03-27T23:43:59.546Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.778s) 2022-03-27T23:51:49.555Z - info: [ui] [RepositoryIndicatorUpdater]: Refreshing sidebar indicators for 1 repositories took 0.3s of which 0.0s paused, total 0.3s 2022-03-27T23:51:56.117Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 – (took 1.712s) 2022-03-27T23:51:58.657Z - info: [ui] Executing getChangedFilesNumStats: git log c46852f2a57206e859462fb8c64b292efe535de0 -C -M -m -1 --no-show-signature --first-parent --format=format: -z --numstat – (took 1.991s)

  1. pyCharm -> pop up window below image

Git is not installed Empty git --version output: Download and Install

  1. git-gui.exe -> pop up window below fatal error occures Cannot parse Git version string:

  2. Visual Studio Code same error empty Git --version

  3. git-cmd ->OK

C:\Users\admin>git --version git version 2.33.0.windows.2

  1. git-bash -> empty stdout(error) dongseok.kim@WMRRD11-NA1057G MINGW64 ~ $ git --version

dongseok.kim@WMRRD11-NA1057G MINGW64 ~ $

  1. window powshell -> OK PS D:\work> git version git version 2.32.0.windows.2 PS D:\work>

It works only in the window command and powershell.

0reactions
TheKrushcommented, Jun 27, 2022

I’ve been seeing this recently as well, and I have 2.36.1.windows.1 git was installed on my machine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

git: 'lfs' is not a git command unclear - Stack Overflow
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 >
Using Git Large File Storage (LFS) for Data Repositories
Git LFS requires Git version 1.8.2 or later to be installed. Download and install the git-lfs client by visiting the Git LFS homepage....
Read more >
How to Install Git and Setup Git Account in RHEL, CentOS and ...
After you have installed required software dependencies, go to the official Git release page and grab the latest version and compile it from ......
Read more >
Solved: Bitbucket Install Unsupported Git Message
Git 1.8 is indeed unsupported by Bitbucket Server. The problem you're dealing with is that the repositories for your OS don't contain any...
Read more >
Git LFS Repositories - Sonatype Help
Requirements. Git 1.8.2 or above is needed for use of this format. Only Git LFS versions 1.* and 2.* are supported. 0.* versions...
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