git log
only gives me the comment. How can I know the files changed by a Git commit/push, and how each file diffs?
I suppose Git should have a direct command, or a command parameter.
git log
only gives me the comment. How can I know the files changed by a Git commit/push, and how each file diffs?
I suppose Git should have a direct command, or a command parameter.
You can use "git show" to view an object's details and for commits this will by default show all the diffs for the commit.
git show e6549b09
Both show and log have lots of formatting options and the command line is similar to control the amount of information output. For example, "--stat" will show you a summary of the changes made.
git show --stat e6549b09
Checkout the help pages,