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
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
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/