Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all commits affecting a subdirectory in github

Tags:

github

Is there a way in GitHub to list all commits that affects a subdirectory (i.e. anyfile or directory in its hierarchy), without having to check out the entire repo?

like image 685
P-Gn Avatar asked Oct 18 '25 14:10

P-Gn


1 Answers

Just to clarify, you are not looking for the latest change, but all changes made to a folder in a branch. Because latest change is always visible on the grayish bar:

screenshot from github.com showing the latest change to a folder

All changes made to the folder can be checked by clicking the History button right above the area I have circled with red. That ends up at this page: https://github.com/jonasblunck/ccm/commits/master/installation which is filtered for that folder. Compare it with https://github.com/jonasblunck/ccm/commits/master that contains all commits to master.

like image 141
wigy Avatar answered Oct 21 '25 14:10

wigy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!