On Thu, 11 Jul 2013 03:24:53 -0700 (PDT)
Akira Tsuchiya <akira...@gmail.com> wrote:
> I want to retrieve the commit history of a given file.
> What command should I issue?
> I expect the command like below.
> D:\GitTest> git show --commit-history test.txt
git log --follow --format=%H test.txt
As Git does not explicitly track renaming and copying of files, you
might want to read up the `git log` manual on the "--find-renames",
"--find-copies" and "--find-copies-harder" command-line options, if you
find the defaults for Git's heuristics of sensing file's lifetime are
not sufficient to uncover the file's past life.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.