jesseduffield / jesseduffield/lazygit

WinGet install fails to recognise git install/version in powershell/win11

Open
#4,019 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
calling `lazygit` produces the following error:

_Git version must be at least 2.20 (i.e. from 2018 onwards). Please upgrade your git version._

**To Reproduce**
Steps to reproduce the behavior:

1. Install using WinGet
2. Run lazygit
3. See error

**Expected behavior**
lazygit is expected to recognise git version `2.43.0.windows.1` _as at least 2.20_

**Version info:**
_Run `lazygit --version` and paste the result here_
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=windows, arch=amd64, git version=
_Run `git --version` and paste the result here_
git version 2.43.0.windows.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.