Reputation: 15685
Is that possible to add under each node in the git log --graph
the list of files affected by the commit?
I always have multiple commits that I need to push, and instead looking one by one in order to see affected files (files that I am going to push), I would love to get a quick overview of the tree with this information.
Upvotes: 1
Views: 961
Reputation: 730
I will suggest to use GUI based application to see such thing.
I am currently using "git g" application which gives complete idea of
change file with showing the line which changed,
showing list of files changed,
option to see code in particular commit, etc.
You can installed it using
sudo apt-get install gitg
I am attaching snapshot of application.
Upvotes: 0
Reputation: 21081
Try
git log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
Upvotes: 0
Reputation: 84343
Add the --name-only
flag. For example:
git log --graph --name-only
The git-log(1) man page says:
--name-only
Show only names of changed files.
Upvotes: 1