Git blame -- prior commits? -
i love git blame command, useful tracking down people don't own writing code. :-)
however, possible see edited specific line before commit reported git blame, e.g. history of commits given line?
for example, run following (on superb uncrustify project):
$ git blame -l10,+1 src/options.cpp ^fe25b6d (ben gardner 2009-10-17 13:13:55 -0500 10) #include "prototypes.h" how can find out edited line before commit fe25b6d? , edited before that commit? sure possible, git-fu weak.
git blame -l10,+1 fe25b6d^ -- src/options.cpp you can specify revision git blame starting (instead of default of head); fe25b6d^ parent of fe25b6d.
Comments
Post a Comment