jesseduffield / jesseduffield/lazygit
Got `fork/exec /usr/bin/git: invalid argument` when using lazygit
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Describe the bug**
I reinstall `lazygit` using `go get` as my reinstallation of WSL. Then I start using `lazygit`, I got this when I try to use p to pull, or Shift + P to push.

**To Reproduce**
Steps to reproduce the behavior:
1. `cd` to a repo
2. p
3. See error `fork/exec /usr/bin/git: invalid argument`
4. Then I tried Shift + P
5. Same error again.
**Desktop (please complete the following information):**
- OS: WLinux (A debian based WSL distribution)
- Lazygit Version:
```bash
$ lg -v
commit=, build date=, build source=unknown, version=unversioned, os=linux, arch=amd64
```
I then run `go clean -i github.com/jesseduffield/lazygit && go get github.com/jesseduffield/lazygit` to make sure I have installed the latest version of `lazygit`
Contributor guide
Assessment
This issue has not been assessed yet.