On Wed, Nov 2, 2011 at 8:13 PM, Howard Lewis Ship <[email protected]> wrote:

> I tend to do this in one window:
>
> gitt diff head^ | pbcopy
>
> and in the other:
>
> pbpaste | patch -p 1
>
> pbcopy / pbpaste are Mac commands for interacting with the system paste buffer

Here I'm having problems with the patch generate by git diff which
isn't correctly applied with the patch command.
I've tried some (a lot?) combinations of git diff --no-prefix with
patch -p0 but no luck.

The code snipped I've pasted produce output like svn diff so it's (at
least should) finely applied with the patch command.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to