如何在终端中退出“git status"列表? [英] How to exit a 'git status' list in a terminal?

查看:38
本文介绍了如何在终端中退出“git status"列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 Git 和终端的新手.如何退出由 git status 命令生成的列表模式?

I'm new to Git and the terminal. How can I exit a listing mode generated by the git status command?

推荐答案

我必须在这里猜测,但是 git 可能正在将其输出运行到您的 $PAGER 程序中,可能是 lessmore.在任何一种情况下,输入 q 应该会让你离开.

I have to guess here, but git is probably running its output into your $PAGER program, likely less or more. In either case, typing q should get you out.

这篇关于如何在终端中退出“git status"列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆