From: Johannes Schindelin Date: Fri, 17 Oct 2008 15:08:53 GMT Subject: Re: Excluding files from git-diff Message-ID: 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