Tor Arntsen wrote: > On 29/03/2010, Yang Tse <[email protected]> wrote: > > Given current git master how does one see full change history for a given > > file ? > > git log <filename> > > > For example with > > http://github.com/bagder/curl/commits/master/configure.ac I can see > > change history for configure.ac back to 2009-06-20. But how do I view > > previous, full, history for same file? > > git log configure.ac > (Unlike the github link it shows the commit hash only, not the other > two, but otherwise it's about the same).
You can use "git log --graph" to show a nice line-graph alongside the log, so you can easily see what's the parent. Or "git log --parents" if you really want the parent ids. "git log -p" is really handy too - shows the patch after each log entry. "git show commit-id" shows the patch of a single commit-id. -- Jamie ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
