search

Home  >  Q&A  >  body text

git-log - git log Why does the interactive interface not appear when there are many logs and all logs are output directly?

When there are too many logs in git log, how can I output them all directly without an interactive interface appearing?

I want to use it in a shell script

高洛峰高洛峰2846 days ago834

reply all(3)I'll reply

  • 黄舟

    黄舟2017-05-02 09:49:05

    Just disable pager paging

    git --no-pager log

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:49:05

    Export to filegit log >log.txt

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:49:05

    You can use the git reflog command. Each submission has only one line of records

    reply
    0
  • Cancelreply