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

Is there a way to exclude some file from a diff?

From
Ping Yin <pkufranky@gmail.com>
Date
Jan 16, 2009, 07:04 UTC
Message-ID
<46dff0320901152304l2d5d6fcavb5207375cabe9d53@mail.gmail.com>
Something similar to
git diff --exclude=".gitignore" A..B
There are so many directories, so using "git diff path1 path2" is inapposite.
Ping Yin
Message 1 of 1 in “Is there a way to exclude some file from a diff?”
  1. Ping YinJan 16, 2009

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.