Re: How to diff between a file on a branch and a master.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 09 Sep 2010 10:04:50 -0700, hogsolo wrote:
> 
> I've got a working file in my master, but I want to see what's different
> about it on the branch.
> I've seen how to diff the WHOLE branch and master, but not target a specific
> file.
> What's the syntax for that?
> 
> thanks

You should just be able to tack " -- path/to/file" on the end of the git
diff invocation you're using to get the diff for the entire branch.

-- 
Jacob Helwig

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]