Code
  • 首页
  • cpu-architecture
  • performance
  • c++
  • branch-prediction
  • java
2023-08-18 10:00:03

我如何退出'git差异'的结果在git Bash上的窗口?

gitdiffmsysgit

我在Windows 7上使用Git Bash。当我运行git diff时,我看到这个:

但是,我无法返回到常规提示。按Ctrl+C似乎可以工作,但一旦我开始输入命令,它就会像图中那样被(END)覆盖。


当前回答

我觉得按Q应该可以。

2012-03-29 16:27:33

其他回答

使用WIN + Q对我很有效。只是q单独给了我“命令未找到”,最终它跳回到git diff疯狂。

2013-02-20 21:52:01

上述解决方案在Windows 8上对我都不起作用

但是下面的命令可以正常工作

Shift + q

2013-07-18 09:00:15

我觉得按Q应该可以。

2012-03-29 16:27:33

推荐文章

  • 如何撤消最后的git添加?
  • Rubymine:如何让Git忽略Rubymine创建的.idea文件
  • Gitignore二进制文件,没有扩展名
  • Git隐藏错误:Git隐藏弹出并最终与合并冲突
  • 了解Git和GitHub的基础知识
  • 没有。Git目录的Git克隆
  • Git与Mercurial仓库的互操作性
  • 忽略git中修改(但未提交)的文件?
  • “git restore”命令是什么?“git restore”和“git reset”之间有什么区别?
  • Git合并与强制覆盖
  • Git拉另一个分支
  • 在Bash命令提示符上添加git分支
  • 如何更改Git日志日期格式
  • git pull -rebase和git pull -ff-only之间的区别
  • GitHub -致命:无法读取用户名https://github.com':没有这样的文件或目录

aliyun

最新文章

  • 如何使用JSON确保字符串是有效的JSON。网
  • 无法读取未定义的属性“msie”- jQuery工具
  • 将旋转的xtick标签与各自的xtick对齐
  • 如何配置slf4j-simple
  • 如何取消最大高度?
  • Shared_ptr转换为数组:应该使用它吗?
  • elasticsearch vs . MongoDB用于过滤应用程序
  • 形式内联内的形式水平在twitter bootstrap?
  • 如何撤消最后的git添加?
  • 我可以在Visual Studio 2012/2013/2015/2017/2019中录制/播放宏吗?
  • 使用C返回一个数组
  • 准备好开发人员ID的macOS安装程序包
  • 我的蛋蛋怎么不见了?
  • Printf与std::字符串?
  • AppSettings从.config文件中获取值

标签

cpu-architectureperformancec++branch-predictionjavaundogit-commitgitversion-controlgit-remotegit-pushgit-branchgit-pullgit-fetchpythongeneratoriteratorjsonmime-typescontent-typearraysjavascriptgit-addcode-formattingcstandards-complianceoperatorscommentsdynamic-memory-allocationstackmemory-managementheap-memorylanguage-agnosticoverwritebackground-colorbrowserhtmldomjqueryvisibilityuse-strictsyntaxjslintremote-branchgit-checkoutpython-moduleidiomsprogram-entry-pointnamespacesbranch
2025 code 京ICP备15047053号-1