Re: Excluding files from git-diff
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 17, 2008, 15:08 UTC
- Message-ID
- <alpine.DEB.1.00.0810171708270.4180@racer>
- In-Reply-To
- <20081017145313.GA23471@eriks>
Hi,
On Fri, 17 Oct 2008, Erik Hahn wrote:
> I'm currently working on a script whose developer does not use git. > Hence, when I mail him the patch, I don't want to include the .gitignore > file. Is it possible to exclude a file from git-diff (except not adding > it to git, of course?)
You can specify everything else:
git diff -- *
Hth, Dscho