How to make github follow directory history after renames?

Update June 2022: GitHub now supports viewing commit history across file renames and moves!

View commit history across file renames and moves.


2011: This was requested in 2009 (Request 129), and then in 2010 (Request 897), and then in 2021 (github/feedback discussion 6964):

I like this.
There could be other issues preventing us from plopping the --follow argument in.
I’ll take a look and let you know.

… and then nothing for now.


Note: Git 2.6+ (Q3 2015) will propose that in command line: see “Why does git log not default to git log --follow?


Note: Git 2.6.0 has been released and includes this feature. Following path changes in the log command can be enabled by setting the log.follow config option to true as in:

git config log.follow true

Leave a Comment