How do you copy and paste into Git Bash

前端 未结 30 1073
抹茶落季
抹茶落季 2021-01-29 16:47

I\'m using msysgit running on Windows XP.

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

30条回答
  •  囚心锁ツ
    2021-01-29 17:54

    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/

提交回复
热议问题