如何退出终端中的git状态列表?
问题描述:
我是Git和Terminal的新手。如何退出由git status命令生成的列表模式?
I'm new to Git and Terminal. How can I exit a listing mode generated by the git status command?
答
我必须在这里猜测,但git可能正在运行它的输出到你的$ PAGER程序中,可能 less
或 more
。在任何一种情况下,输入 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.