jesseduffield / jesseduffield/lazygit

Sometimes pushing to or pulling from a branch gets stuck indefinitely

Open
#3,324 2 comments 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**
Occasionally, when I push local changes to a branch, or pull/fast-forward, lazygit displays the "Pushing..."/"Fetching and fast-forwarding..." indefinitely.

The command log shows the requested task in yellow colour, but it doesn't show any actual git command being performed (see attached screenshot below).

**To Reproduce**

I'm afraid I don't have any specific reproduction steps. I may be performing a specific task in lazygit casually that is the cause of this bug, but I can't think of anything relevant off the top of my head.

**Screenshots**

![CleanShot 2024-02-14 at 01 13 35](https://github.com/jesseduffield/lazygit/assets/22781491/070df967-71e5-4180-9751-17df5b935e30)

(notice it says "Fast forward branch" but there's no git command below that)

**Version info:**

```
~/Projects
❯ lazygit --version
commit=, build date=, build source=homebrew, version=0.40.2, os=darwin, arch=arm64, git version=2.39.3 (Apple Git-145)

~/Projects
❯ git --version
git version 2.39.3 (Apple Git-145)
```

In the mean time, I'll try a manual build of lazygit and assess whether I can still reproduce the bug there.

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.