gpt4 book ai didi

git-bash - 你如何从gitbash复制(Git Bash)

转载 作者:行者123 更新时间:2023-12-03 18:38:24 25 4
gpt4 key购买 nike

enter image description here 我正在使用在 Windows 7 上运行的 git-for-windows MING64 MinTTY。当我在 git bash 上选择文本时,它总是触发 ctrl+C(它将在下一个命令行中显示 ^C)。

例如:当我左键向下选择“git --version”,然后左键向上时,下一个命令行变为“$^C”

$ git --version

git 版本 2.9.2.windows.1

$^C

有没有人遇到过这个问题?以及如何修复它?
我从 https://github.com/git-for-windows/git/releases 下载了 exe 文件。

最佳答案

输入 键盘 组合 Alt+空格键 打开命令窗口的系统菜单。然后使用那里的选择和复制选项。

有一步一步的扩展指令 here

另见 Copying and Pasting in Git Bash 。摘录如下:

Copying and Pasting in Git Bash

The default way to copy/paste in Git Bash is by using the menu (accessed by going to the top left) to "mark" to select what you want to copy and then use the menu again to paste.

This gets inefficient pretty quickly, so it's a good idea to set up QuickEdit mode to make copying and pasting much faster. To do this, go to Menu->Properties and in the Options tab select QuickEdit Mode.



enter image description here

关于git-bash - 你如何从gitbash复制(Git Bash),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38626959/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com