I am using git
to track changes in configuration files of third-party application. At the first moment I did initial commit and then was fitting settings of the application gradually. Now I have final good settings and committed them into git
. I wish to see what I had changed.
How to accomplish this?
I did
git log --graph
or similar, but see all commits marked with long hexadecimal numbers. May I use them for git diff
?
You can use the -p argument with git log to get all diffs for all commits:
git log --graph -p
If you want to see the complete diff from the first commit to HEAD you can do something like this:
git diff `git rev-list HEAD | tail -n 1` HEAD