Git bash does not accept paste command

Asked

Viewed 5,886 times

4

I wonder why git bash does not accept the Ctrl+V command. Every time I have to clone a repository on github I have to type in the whole url!

  • 2

    If you right click, the "Paste" option appears. Maybe even with the shortcut Shift+Insert.

  • Try using the middle mouse button to glue. Since the Ctrl+c command on the terminal has nothing to do with pasting, I think it makes sense that Ctrl+v doesn’t work either. Becoming available with the addition of shift key

  • If you are on linux Ctrl+shift+v

  • It worked guys thanks for the help I’m starting now with Git Bash by clicking the middle mouse button it glue.

4 answers

5

In Git Bash (and various other software) Shift + Insert paste text in clipboard.

  • Doesn’t my keyboard have the Insert key, some other alternative keyboard shortcut for copying and pasting? (Beyond what you have to click with the mouse)

4


Commands like Ctrl+c and Ctrl+v on bash do not match copy and paste respectively.

For environment Windows, the options below work:

  • Experiment by right-clicking the mouse, thus:

screenshot do gitbash

  • Or you can also use the middle mouse button (option suggested by lazyFox).

Note: I have worked on other versions of bash, where by clicking the button on the top corner icon, an option to paste was displayed as well. I tested the option here Shift + Insert (cited in the LINQ response) also worked.

  • A person wasting time, adding content to a response and simply despise the change -.-'

  • @lazyFox Thanks for the middle button tip.

1

For some, like me, that keyboard does not have the key Insert, has another keyboard shortcut for Git Bash that lets you copy and paste.

Just follow the steps:

  1. Right click and click on "Options..."

  2. Select the Keys menu and uncheck the "Copy and Paste" option (as illustrated in the figure below)

    Options do git bash

  3. Click on "Apply" and then on "Save".

After doing this setup just use the command Ctrl+Shift+C to copy and Ctrl+Shift+V to glue.

0

In git (version 2.21-64bit-environment windows 7) - I simply pressed the button Insert and he pasted all the way through the directory that I copied.

Vlw. I hope it helps.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.