Hi Sreeptahi,

You have to do 'git diff --no-prefix > OOZIE-1945.patch' to generate the
patch.
(We use 'patch -p0 < OOZIE-1945.patch' to apply it)


- Robert


On Mon, Aug 4, 2014 at 4:48 PM, Sreepathi <[email protected]>
wrote:

> Hello Dev,
>
> I'm new to Git. What does it mean when it says cannot apply to head of
> branch ?
>
> I produced the patch using git diff > patch command and git format-patch -1
> HEAD once. Both time i got this message. I can apply this patch locally
> with git apply command. Not sure what needs to be done. Can somebody let me
> know what steps i have to follow to resolve this one?
>
>
> Testing JIRA OOZIE-1945 <https://issues.apache.org/jira/browse/OOZIE-1945>
>
> Cleaning local git workspace
>
> ----------------------------
>
> -1 Patch failed to apply to head of branch
>
> https://issues.apache.org/jira/browse/OOZIE-1945
>
> --
> *Regards,*
> --- *Sreepathi *
>

Reply via email to