eXavier eXavier - 21 days ago 8
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
git log --first-parent --merges -1 -- path/to/it

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

Comments