Thanks. Is the viewer in question a console based graphics or a GUI based one?
Will it work in an SSH terminal? On Mar 17, 5:28 am, David Aguilar <[email protected]> wrote: > On Tue, Mar 16, 2010 at 08:40:32AM -0400, Rick DeNatale wrote: > > On Tue, Mar 16, 2010 at 3:19 AM, vfclists <[email protected]> wrote: > > > > Is there a git command to compare a file in your working directory > > > against the same file in a branch or a particular commit? > > > git diff example_branch -- path/to/file > > > git diff cf3b3fd -- path/to/file > > > -- > > Rick DeNatale > > ...and if you use 'difftool' instead of 'diff' > you'll see the diff in a graphical side-by-side > viewer. > > Are you on Linux? (only asking because installing graphical > diff tools is typically much easier on Linux than it is on Windows). > > Have fun, > > -- > David -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
