How do you copy and paste into Git Bash

2020-05-10 15:21发布

I'm using msysgit running on Windows XP.

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

30条回答
对你真心纯属浪费
2楼-- · 2020-05-10 15:48

For paste in Git BASH CTRL + P

查看更多
老娘就宠你
3楼-- · 2020-05-10 15:48

If you click at the icon on the upper left corner, a drop-down menu will appear, and you can find the option to copy/paste from there.

查看更多
\"骚年 ilove
4楼-- · 2020-05-10 15:50

Here are a lot of answers already but non of them worked for me. Fyi I have a Lenovo laptop with win10 and what works for me is the following:


Paste = Shift+fn+prt sc


Copy = Shift+fn+c

查看更多
孤傲高冷的网名
5楼-- · 2020-05-10 15:52

COPY:Click the title bar, choose mark, then select the content you want to copy. PASTE: Copy what you want to past, focus on the bash, hit the insert key on the keyboard.

查看更多
Animai°情兽
6楼-- · 2020-05-10 15:53

I also go through the same problem, git bash does not support tradition method to copy and paste in windows but you can simply copy and paste in single command

SHIFT+fn+INSERT

查看更多
闹够了就滚
7楼-- · 2020-05-10 15:54

To copy select the text and click CTRL+INS

To paste place the cursor where you want to print

and click SHIFT+INS

For more options, on the top left click on git-bash icon

查看更多
登录 后发表回答