Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
git log如何从终端命令或 git 命令(如or )的长输出中退出git branch -a?
git log
git branch -a
如何避免我必须按 enter 直到命令的输出完成?
git log用于more分页less输出。
more
less
您可以按q停止更多/更少并删除剩余的输出。
q
Ctrl-C 是完整的答案,尽管在这个领域太短了。