I’m looking for a way to checkout a single file’s revision history. For example, a utility that will pull out the last N times a single file has changed and committed , and populate them in the same directory as
the repo has .gitignore *~.
I think I could do it by using git log file and for each log entry git checkout followed by a mv (or even better, ln).
(Thanks to Andrew Francis for helping)