jesseduffield / jesseduffield/lazygit

Bare Repo bug

Open
#1,907 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**
I'm trying to handle my dotfiles this way
https://www.atlassian.com/git/tutorials/dotfiles

Get this error

```
> lazygit
2022/05/02 21:08:04 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues

*errors.errorString Must open lazygit in a git repository
github.com/jesseduffield/lazygit/pkg/commands/git.go:187 (0x55c4c90bd6c5)
github.com/jesseduffield/lazygit/pkg/commands/git.go:60 (0x55c4c90bc39f)
github.com/jesseduffield/lazygit/pkg/gui/gui.go:480 (0x55c4c911ea53)
github.com/jesseduffield/lazygit/pkg/app/app.go:138 (0x55c4c916b5d9)
github.com/jesseduffield/lazygit/main.go:135 (0x55c4c916d46b)
runtime/proc.go:250 (0x55c4c8bc7153)
runtime/asm_amd64.s:1571 (0x55c4c8bf4ba1)
```

**To Reproduce**
Following steps in link

**Expected behavior**
Should work as usual

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [Alpine edge
- Lazygit Version 0.34

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.