Also make sure that your patch actually can be applied to HEAD by doing ie.
a git pull --rebase or similar.
On 3 Aug 2014 02:10, "Philip Oakley" <philipoak...@iee.org> wrote:
> *From:* Sreepathi Prasanna <prasanna.sreepa...@gmail.com>
> *To:* firstname.lastname@example.org
> *Sent:* Saturday, August 02, 2014 8:14 PM
> *Subject:* [git-users] Question about git diff
> I'm new to Git source control. I generated a patch using git diff > patch
> command, on one of the projects and submitted it to open source for review.
> The automated tool which grabs the patches and runs the basic test cases
> against the patch, complained. I don't understand what i'm doing wrong here.
> -1 Patch failed to apply to head of branch
> Try using 'git format-patch' and the 'git send-email' if it's to be
> The regular 'diff' isn't the same as a git-diff, and for patches to apply
> there are a few extra parameters that are needed to make it work (but I use
> the above ;-)
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.