Josh Diehl
Josh Diehl

Reputation: 3079

Show adding dates of files in a directory

I'm looking to see which files were added when in a subdirectory of git project. Looked at the man for git log but nothing jumped out as what I need.

Upvotes: 2

Views: 62

Answers (1)

vergenzt
vergenzt

Reputation: 10367

git log --reverse --diff-filter=A --summary <directory>

This will list the commits, starting from the oldest, in which any of the files in the given directory were created.

Upvotes: 1

Related Questions