log

git log shows the list of branches and the commits on those branches.

This is documented here


//One line commit history
git log origin/master --oneline

//Only show the last 3
git log origin/master --oneline --maxcount=3

//From the last 4 days
git log origin/master --oneline --max-count=3 --since="4 days ago"

//2 weeks ago
git log origin/master --oneline --max-count=3 --since="2 weeks ago"

I take it one can find what files have changed since last as well


git log master

Vs

git log origin/master

git log commit difference between local and remote

Search for: git log commit difference between local and remote

Commit differences between local and remote

How to compare a local git branch with its remote branch? SOF