git how to list all commit for one file
Last updated
Was this helpful?
Last updated
Was this helpful?
The--follow
works for a particular file
Difference to other solutions given
Note that other solutions includegit log path
(without the--follow
). That approach is handy if you want to track e.g. changes in adirectory, but stumbles when files were renamed (thus use--follow filename
).