lazygit
lazygit copied to clipboard
Lazygit constantly tries to connect to the remote repository automatically
Describe the bug Every time I start lazygit, lazygit tries to connect to the remote repository. Most of the time it has no access authorisation. This has led to me being locked out of my repository several times.
To Reproduce Steps to reproduce the behavior:
- type Layzigit into the shell.
- layzigit tries to connect to the remote repository.
- Connection error, because of course the correct ssh key was not entered every time.
- See error
Expected behavior Layzigit should not constantly destroy my access authorisation and manage my repository locally.
Version info: commit=v0.40.2, build date=2023-08-12T17:47:33Z, build source=binaryRelease, version=0.40.2, os=linux, arch=amd64, git version=2.43.2 git version 2.43.2
You might want to set auto fetch to false:
git:
# If true, periodically fetch from remote
autoFetch: false