Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get commit log about only 1 folder [duplicate]

What I want to do is get a commit log of all the changes pertaining only to 1 folder in a repository. How, if at all, is this possible?

like image 303
SSEMember Avatar asked Sep 14 '25 00:09

SSEMember


1 Answers

git log --all -- some/path

Added for completeness. You may want to use "find copies" and "find copies harder" first to see if you want to add another path in case this path was renamed or copied at some point in the history.

like image 144
Adam Dymitruk Avatar answered Sep 17 '25 03:09

Adam Dymitruk