Using git log --name-status
gives all the commits on that branch.
Using git log -1 --name-status
gives only the last commit.
I want to get the last commits that were in the last push. Even knowing how many commits there were in the last push would help me because I can parametrize the command with -n
.
The answer at this question does not help me. Using git whatchanged
does not help me too much either.