From: Alex Riesen Date: Thu, 14 May 2009 12:03:59 GMT Subject: Re: how to get 'git diff' to output patch to file Message-ID: <81b0412b0905140503n527d6a3ah34f4cdb72b0ce4c@mail.gmail.com> In-Reply-To: <93C432AD0B8F4D25A19E0D67C535376A@HPLAPTOP> 2009/5/14 Aaron Gray : > How do I get 'git diff -u' to output to a file or standard out instead of > its viewer ? > git diff -u > file GIT_PAGER=: git diff -u (stdout) or, depending on how old your Git is git --no-pager diff -u