eXavier eXavier - 1 year ago 106
Git Question

Show time of merge for a file in git

For a single file, can I get the time it was merged into the current branch in git?
I would like to find out when the file was merged (I can see only the commit time in

git log
, who did that merge and possibly other files within the same merge.

Answer Source
git log --first-parent --merges -1 -- path/to/it

and to get the other files add -m --name-only options (before the --).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download