Skip to content

Git Bash sometimes misses the first character typed #5726

@hfrmobile

Description

@hfrmobile

Existing issues matching what you're seeing

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

Git for Windows version

xxxx MINGW64 /c/Workspaces/xxxx/main (main)
$ git checkout feature/XY/main/XYZ

bash: it: command not found

This still happens often when dealing with clipboard. Usually, I copy e.g. FB URL to the clipboard for use with Git Bash and there it often occurs.

This already occurs since a year (or even more) already on Windows 10 but now also on Windows 11.

I found similar bugs but related to VS Code ...

It also occurs when just typing "git" but "it" appeared...

Windows version

Windows 11

Windows CPU architecture

x86_64 (64-bit)

Additional Windows version information

Microsoft Windows [Version 10.0.22631.5472]

Options set during installation

Editor Option: VIM
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: WinSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable FSMonitor: Disabled

Other interesting things

No response

Terminal/shell

Git Bash

Commands that trigger the issue

"Sometimes" the very first character is skipped-

Expected behaviour

Not skipping very first character.

Actual behaviour

Sometimes skipping very first character, especially when doing clipboard operation (e.g. paste FB url from Clipboard to Git Bash via Menu. When doing via Keyboard shortcut it seems to work better, not "forgetting" first character ...

Repository

No response

Metadata

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