git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Hhogsolo <greg@localdirt.com>
Date
Sep 9, 2010, 17:04 UTC
Message-ID
<1284051890085-5515312.post@n2.nabble.com>

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
-- 
View this message in context: http://git.661346.n2.nabble.com/How-to-diff-between-a-file-on-a-branch-and-a-master-tp5515312p5515312.html
Sent from the git mailing list archive at Nabble.com.
Next: Jacob Helwig
Message 1 of 2 in “How to diff between a file on a branch and a master.”
  1. hogsoloSep 9, 2010
  2. Jacob HelwigSep 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.