Home > other >  How to show full git log in terminal?
How to show full git log in terminal?

Time:01-28

I need to list the full log from the most recent recent commit to the first commit. So far I tried all the below and nothing works. I only get a less view showing the most recent 2-3 commits.

git log --full-history

and

git log --full-diff

and

git log -n 999999

and

git log --before yesterday

and

git log --full-diff --sparse

and

git log --reflog

and

git log --grep *.*

CodePudding user response:

If you're looking to display the git log from the earliest commit to the most recent, you can view it in reverse order using git log --reverse. This will show all commits by default. To skip the pager (less), you can use git --no-pager log --reverse.

  •  Tags:  
  • Related