Most of the time, when looking at history in a git repository, I am most interested in changes at a higher level than an individual commit. From time to time, however, I really want to look at each commit on its own. So, I created git-walklog. For each commit in the range specified, it:
- Shows the standard log format: author, date, and commit message. Then it waits for input.
- Hitting enter then runs
git difftoolon just that commit, showing you any differences in your configured difftool 1.
If you want to skip a commit, all you need to do is type ‘n’ or ‘no’.
I usually use
git log with different options till I get it to just show the entries I’m interested in and then replace
walklog to cruise through the commits.
To see the last three commits:
To see the changes for a particular branch:
To see what came in the last git pull:
I usually put
--reverse in there, because I want to see the commits in the same order as they were created.