Skip to content

Git broke Windows Terminal #5331

Open
Open
@Bang1338

Description

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Git for Windows 2.47.1, 64-bit
  • Windows Terminal Version v1.21.3231.0
> git --version --build-options

git version 2.47.1.windows.1
cpu: x86_64
built from commit: 2cd22437f64229935dc564db969cbcbfed5e9045
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
feature: fsmonitor--daemon
libcurl: 8.11.0
OpenSSL: OpenSSL 3.2.3 3 Sep 2024
zlib: 1.3.1
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
    Windows 10 IOT Enterprise LTSC 64-bit
> cmd.exe /c ver
Microsoft Windows [Version 10.0.19044.5247]

Options:

  • Disabled Windows Explorer integration
  • Disabled Associate .sh files to be run with Bash
  • Enabled Add a Git Bash Profile to Windows Terminal
  • Uses notepad++ as text editor
  • The rest are default
> type "C:\Program Files\Git\etc\install-options.txt"

Editor Option: Notepad++
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable FSMonitor: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?
    No

Details

  • I installed Git with option "Add a Git Bash Profile to Windows Terminal" enabled. But when installed, the Windows Terminal have this error:
    image

What I tried:

  1. Delete settings.json (Windows Terminal)
  2. Downgrade Windows Terminal
  3. Reinstall Windows Terminal
  4. Using Windows Terminal Preview

Until I did this:

  1. Uninstall Git
  • It's safe to say that Git broke Windows Terminal.

Related issues (Windows Terminal, not Git): #9699

Temporary fix

  • Untick "Add a Git Bash Profile to Windows Terminal"

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions