jesseduffield / jesseduffield/lazygit

Don't work well with bare repo and dotfiles

Open
#1,294 11 comments 6 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 use git bare repo to manage my dotfiles .
So i used, laygit -g ~/.dotfiles -w ~/ , but pressing 'a' to stage all, but lazygit got hang .
I also used in vim using Floaterm. There it says file not found

**To Reproduce**
Steps to reproduce the behavior:
1. Create a bare repo
2. Add some dotfiles (e.g. .config/nvim/init.vim ) files using 'git'
3. Commit changes
4. Edit some file
5. Try staging with lazygit this time with 'a'

**Expected behavior**
Should work fine like other repos.

**Screenshots**

**Desktop (please complete the following information):**
- OS: arch linux
- Lazygit Version 0.26.1
- The last commit id if you built project from sources (run : ```git-rev parse HEAD```)

**Additional context**
Add any other context about the problem here.

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.