I know how to select text in git bash console (for example: commit hash) use mouse, but how to do it use keyboard.
If your "git bash console" runs inside cmd.exe (and in typical git installation in Windows it is), then you can use cmd.exe window context menu for selecting and pasting:
alt+space
— it will bring window context menu.e
, k
— it will select Edit
-> Mark
menu option.cmd.exe
window with arrow keys.enter
to copy selected block of text.You can also paste text from clipboard into console using alt+space
, e
, p
shortcut.
Note that keyboard shortcuts depend on Windows user interface language, described above commands are for English interface.
Hold Shift Key and first click at starting of your text then click the end of your selection
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With