Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git broke Windows Terminal #5331

Open
1 task done
Bang1338 opened this issue Dec 26, 2024 · 1 comment
Open
1 task done

Git broke Windows Terminal #5331

Bang1338 opened this issue Dec 26, 2024 · 1 comment

Comments

@Bang1338
Copy link

Bang1338 commented Dec 26, 2024

  • 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"
@rimrul
Copy link
Member

rimrul commented Dec 27, 2024

I've tested the same versions of Git for Windows and Windows Terminal on Windows 11 and I don't see this error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants