search

Home  >  Q&A  >  body text

git_Windows_MinGW命令行如何复制粘贴?

比如有时候需要clone一个仓库,所以先复制一下URL,然后填入到命令行.

但是MinGW没有相应的复制粘贴菜单(右键菜单)

在git_Windows_MinGW复制和粘贴都是比较郁闷的事情

PHP中文网PHP中文网2770 days ago857

reply all(4)I'll reply

  • 黄舟

    黄舟2017-05-02 09:22:36

    It should be possible to paste using shift + insert. As for copying, it should be configured to copy when selected.

    In addition, I recommend a command tool under Windows: ConEmu -- tab labels, various shortcut keys, and various colors are very complete and convenient -- more importantly, you can use the familiar Ctrl+C/V

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:22:36

    1, select the
    you want to edit 2, in 标题栏 -> 右键 -> 编辑 -> 复制/粘贴

    There is another way

    in标题栏 -> 右键 -> 属性 -> 快速编辑模式勾上.
    Then you can 左键选中右键复制右键粘贴

    reply
    0
  • PHP中文网

    PHP中文网2017-05-02 09:22:36

    I use Git Bash, and you can copy it with the following command:

    clip.exe < '待复制的文件'
    

    For example:

    clip.exe < ~/.ssh/id_rsa.pub
    

    In this way, your ssh public key will be copied to the pasteboard

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:22:36

    Common problem with windows. But using cmder, you can use ctrl+V. You can copy or select with the mouse

    reply
    0
  • Cancelreply