[git-users] How to do a diff comparing a file in your workin directory against a branch or a particular commit?

2010-03-16 Thread vfclists
Is there a git command to compare a file in your working directory against the same file in a branch or a particular commit? -- 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 git-us...@googlegroups.com

Re: [git-users] How to do a diff comparing a file in your workin directory against a branch or a particular commit?

2010-03-16 Thread Rick DeNatale
On Tue, Mar 16, 2010 at 3:19 AM, vfclists 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 Blog: http://talklik

Re: [git-users] How to do a diff comparing a file in your workin directory against a branch or a particular commit?

2010-03-16 Thread David Aguilar
On Tue, Mar 16, 2010 at 08:40:32AM -0400, Rick DeNatale wrote: > On Tue, Mar 16, 2010 at 3:19 AM, vfclists 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/