DEV Community


Posted on • Originally published at

Listing out the history of a particular file in Git

There are multiple ways to follow a file's history in
Git. You can use a double-dash and pass file names that you want to list
out the log for. But there's a limitation to what it can do. A better
option would be to use the --follow flag for git log command. I wrote about this in a little more detail here:

Top comments (0)