Skip to content

After updating gitbutler complains not found gitΒ #11905

@tumukei

Description

@tumukei

Version

0.18.4

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

It seems gitbutler can partially lose git.exe after running updater to update gitbutler and using the restarted instance of the app. Manual restart of gitbutler restores normal operation.

How to reproduce (Optional)

  1. Using git 2.52.0 from scoop install git
  2. Updated running gitbutler to 0.18.4.
  3. Using the version that restarted, created a branch on existing git repo, committed files on it and tried to push it
  4. gitbutler complained that it cannot find git.

Expected behavior (Optional)

No response

Relevant log output (Optional)

2026-01-20T10:21:46.052336Z ERROR push_stack: crates\but-api\src\legacy\stack.rs:216: error=backend error: failed to execute git command: program not found

Caused by:
    failed to execute git command: program not found project_id=a1cedbad-2123-448e-8320-1f68c6c3b0b8 stack_id=ea6c6a23-e5a1-4055-ad1f-d52cb6e97bc6 with_force=false skip_force_push_protection=false branch="feature/TC-65746-trace" run_hooks=false push_opts=[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions