英文:
How to exit from git stash show -p command?
问题
我想查看存储的文件,所以输入了以下命令:
git stash show -p
现在我被困在这些文件中,如何在终端中退出该命令?
我尝试点击
ctrl + C
输入exit但仍然无法退出。
英文:
i wanted to see stashed files so i entered
git stash show -p
now Im stucked in those files , how can i exit that command in terminal?
I tried clikcing
ctrl + C
entered exit but still not getting out
答案1
得分: 2
Git已输出其文本,现在正在分页工具中显示。通常,在许多情况下,这是一个名为less
的程序。
按下<kbd>q</kbd>(小写的Q)以退出less
并返回到命令行。
英文:
Git has output its text and it's now being displayed in a pager utility. Likely, and the default in a lot of cases, this is a program called less
.
Press <kbd>q</kbd> (lower case Q) to quit less
and exit back to the command line.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论