How do you copy and paste into Git Bash

I'm using msysgit running on Windows XP.

Tried Ctrl+V, Right click, Middle click, google... no luck.


Press Insert.

Also, to copy from the window, try clicking the console's window icon (topleft) and choosing Edit -> Mark, then drag a box on the text, then press Enter. (You can also paste via the window icon menu, but the key is faster.)

UPDATE

Starting from Windows 10 the CTRL + C, CTRL + V and a lot of other feature are implemented in conhost.exe so they should work with every console utility on Windows. (You have to enable Properties -> Option tab -> Quick Edit Mode)

Ref: http://blogs.windows.com/buildingapps/2014/10/07/console-improvements-in-the-windows-10-technical-preview/


除了使用编辑菜单命令之外,您还可以使用键盘快捷键Insert,直接粘贴到git bash窗口中。


It's not really a function of git, msys, or bash; every windows console program is stuck using the same cumbersome copy/paste mechanism for historical reasons. Turning on QuickEdit mode can help -- or you can install a nice alternative console like this one, and change your git bash shortcut to use it instead.

链接地址: http://www.djcxy.com/p/53418.html

上一篇: 使用AWS与R并行处理

下一篇: 你如何复制并粘贴到Git Bash中