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

1 messages from 2009-01-16 to 2009-01-16. Participants: Ping Yin.
Thread: https://gitlist.dev/t/17200

## Ping Yin, 2009-01-16 07:04

Subject: Is there a way to exclude some file from a diff?
Message-ID: <46dff0320901152304l2d5d6fcavb5207375cabe9d53@mail.gmail.com>
URL: https://gitlist.dev/e/46dff0320901152304l2d5d6fcavb5207375cabe9d53%40mail.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

```
