raphael
raphael

Reputation: 23

How get entire Git log history

When I do

git log

it only displays the last 4 commits, no matter how many there is. And I do know there is more than that, made very recently.

I have also tried to do

git log -x

(x>4), several tries with different x.

but no success, still only the last 4 commits are displayed.

Any idea ?

Upvotes: 2

Views: 81

Answers (1)

Prince Odame
Prince Odame

Reputation: 544

git --no-pager log

This should print to stdout, the logs for you.

You can also output it to a file using:

git --no-pager log > log.txt

Upvotes: 2

Related Questions