Re: Applying GIT patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/15/2009 09:59 PM, Eric Daoust wrote:
> Hello,
>
> I have uploaded a couple patches (tarballs containing multiple
> commits) to bugzilla.  What is the correct method to apply these
> patches so that others can see my work?

Hi,

To apply patches created with git-format-patch, use git-am, like this:

   git am 0001-single-file.patch

or for multi-file commits:

   tar -zxvf lots-of-commits.tar.gz
   git am lots-of-commits/*

where lots-of-commits contains the files

   0001-foo.patch
   0002-bar.patch
   0003-foo-bar.patch

Often, you might want to create a new branch before you apply them

   git checkout -b lots-of-commits origin/master

HTH,
Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux