how to diff versions of a file
- From
Matt Graham <mdg149@gmail.com>
- Date
- Feb 3, 2009, 05:00 UTC
- Message-ID
- <1c5969370902022100h7c03bbb6h2d9f443f877d89ec@mail.gmail.com>
Hi, I'm curious if there's a way to diff between 2 arbitrary versions of a file.
For example, how can I see the diff between tree.c on HEAD and from 3 edits (of tree.c) ago?
I can do git log and then manually use commit names to do the diff, but I'm hoping there's a single command that will let me do that.
Thanks, Matt